*** empty log message ***

svn path=/trunk/boinc/; revision=157
This commit is contained in:
Michael Gary 2002-07-03 20:50:34 +00:00
parent e68ae27f0b
commit 853a11e16e
2 changed files with 5 additions and 2 deletions

View File

@ -724,4 +724,6 @@ Michael Gary 7/03/2002
client/ client/
hostinfo_unix.C hostinfo_unix.C
configure configure
doc/
api.html

View File

@ -18,12 +18,13 @@ Simple support for writing output into memory buffers,
then appending them to output files and then appending them to output files and
writing the checkpoint file (almost atomic). writing the checkpoint file (almost atomic).
<li> <b>Using the api </b>. <li> <b>Using the api </b>.
The client, if using the api, should call time_to_checkpoint() The application, if using the api, should call time_to_checkpoint()
inside of the innermost loop, and, if time_to_checkpoint() inside of the innermost loop, and, if time_to_checkpoint()
returns true, the client should run a checkpoint, then call returns true, the client should run a checkpoint, then call
checkpoint_completed(). This will ensure proper cpu time checkpoint_completed(). This will ensure proper cpu time
accounting and write trigger files for the core client. All accounting and write trigger files for the core client. All
input and output should be written through MFILEs, using the input and output should be written through MFILEs, using the
associated i/o functions and flushing MFILEs at each checkpoint associated i/o functions and flushing MFILEs at each checkpoint
to ensure data is saved. to ensure data is saved. When the application has completed it
should call app_completed(), then exit.
</ul> </ul>