Changes between Version 2 and Version 3 of OptionsApi


Ignore:
Timestamp:
Dec 18, 2008, 4:39:46 PM (15 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OptionsApi

    v2 v3  
    5050 '''direct_process_action'''::
    5151        If set, the program will respond to quit messages and heartbeat     failures by exiting, and will respond to suspend and resume     messages by suspending and resuming.     Otherwise, these events will result in changes to     the BOINC_STATUS structure,     which can be polled using boinc_get_status().
     52
     53== Getting the status of the runtime system ==
     54
     55The status of the runtime system is represented by the following structure:
     56{{{
     57typedef struct BOINC_STATUS {
     58    int no_heartbeat;
     59    int suspended;
     60    int quit_request;
     61    int reread_init_data_file;
     62    int abort_request;
     63    double working_set_size;
     64    double max_working_set_size;
     65} BOINC_STATUS;
     66}}}
     67
     68You can get the current status using
     69
     70{{{
     71void boinc_get_status(BOINC_STATUS*);
     72}}}