Changes between Initial Version and Version 2 of Ticket #792


Ignore:
Timestamp:
Dec 7, 2008, 2:48:20 PM (16 years ago)
Author:
Nicolas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #792

    • Property Owner set to davea
    • Property Component changed from Undetermined to BOINC - API
  • Ticket #792 – Description

    initial v2  
    22To solve it I reverted method send_status_message() to its old version and in the main while (1) loop I added the following:
    33
    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}}}