Changes between Version 26 and Version 27 of BasicApi
- Timestamp:
- Jan 1, 2010, 1:42:22 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BasicApi
v26 v27 17 17 == Initialization and termination == #init 18 18 19 Initialization must be done before calling other BOINC functions. 20 19 21 To initialize a single-thread program, call 20 21 22 {{{ 22 23 #!c++ … … 29 30 }}} 30 31 31 Initialization must be done before calling other BOINC functions. 32 Note that `boinc_init_parallel` will `fork` on Unix systems, 33 so you must not create any thread or try to store the current PID 34 before calling this function. 35 If this function succeeds, 36 the parent (original) process will run an internal loop, 37 and will not return; 38 code following the `boinc_init_parallel` call will run in the child process. 32 39 33 40 When the application has completed it must call