Changes between Version 2 and Version 3 of OptionsApi
- Timestamp:
- Dec 18, 2008, 4:39:46 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OptionsApi
v2 v3 50 50 '''direct_process_action''':: 51 51 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 55 The status of the runtime system is represented by the following structure: 56 {{{ 57 typedef 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 68 You can get the current status using 69 70 {{{ 71 void boinc_get_status(BOINC_STATUS*); 72 }}}