Changes between Version 2 and Version 3 of AssimilateIntro


Ignore:
Timestamp:
Mar 7, 2008, 11:31:28 AM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AssimilateIntro

    v2 v3  
    1616It's possible that both conditions might hold.
    1717
    18 If `assimilate_handler()` returns zero, the workunit record will be marked as assimilated. If assimilate_handler() returns nonzero, the assimilator will log an error message and exit. Typically the function should return nonzero for any error condition. This way the system administrator can fix the problem before any completed or erroneous workunits are mis-handled by BOINC.
     18The return values of `assimilate_handler()` are:
     19 * 0: the workunit will be marked as assimilated.
     20 * DEFER_ASSIMILATION: the workunit will not be marked as assimilated, and will be processed again when the next instance finishes.  This is useful for appliations where you want to see all the completed results.
     21 * Other nonzero values: the assimilator will log an error message and exit. Typically the function should return nonzero for any error condition. This way the system administrator can fix the problem before any completed or erroneous workunits are mis-handled by BOINC.
    1922
    2023You can use BOINC's [BackendUtilities back-end utility functions] to get file pathnames and open files.