| 5 | | The following runtime system options are available: |
| | 5 | You can customize the behavior of the BOINC runtime system |
| | 6 | by using '''boinc_init_options()''' instead of '''boinc_init()''': |
| | 7 | |
| | 8 | {{{ |
| | 9 | BOINC_OPTIONS options; |
| | 10 | |
| | 11 | boinc_options_defaults(options); |
| | 12 | options.multi_thread = true; // include this if your app's main process uses multiple threads |
| | 13 | options.multi_process = true; // include this if your app uses multiple processes |
| | 14 | |
| | 15 | boinc_init_options(&options); |
| | 16 | }}} |
| | 17 | |
| | 18 | Do not create any threads or store the current PID |
| | 19 | before calling '''boinc_init_options()'''. |
| | 20 | The following options are available: |