Changes between Initial Version and Version 2 of Ticket #792
- Timestamp:
- Dec 7, 2008, 2:48:20 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #792
- Property Owner set to davea
-
Property
Component
changed from
Undetermined
toBOINC - API
-
Ticket #792 – Description
initial v2 2 2 To solve it I reverted method send_status_message() to its old version and in the main while (1) loop I added the following: 3 3 4 .... 5 poll_boinc_messages(task); 6 send_status_message(task, frac_done); 7 // begin yoyo 8 if (task.has_checkpointed()) { 9 write_checkpoint(i, cpu + task.cpu_time()); 10 } 11 // end yoyo 12 boinc_sleep(POLL_PERIOD); 13 .... 4 {{{ 5 #!c++ 6 poll_boinc_messages(task); 7 send_status_message(task, frac_done); 8 // begin yoyo 9 if (task.has_checkpointed()) { 10 write_checkpoint(i, cpu + task.cpu_time()); 11 } 12 // end yoyo 13 boinc_sleep(POLL_PERIOD); 14 }}}