mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3497
This commit is contained in:
parent
8984d9a2c7
commit
3c964e41fb
|
@ -66,7 +66,7 @@ using namespace std;
|
||||||
// (not counting the part after the last checkpoint in an episode).
|
// (not counting the part after the last checkpoint in an episode).
|
||||||
|
|
||||||
static APP_INIT_DATA aid;
|
static APP_INIT_DATA aid;
|
||||||
APP_CLIENT_SHM *app_client_shm;
|
APP_CLIENT_SHM *app_client_shm=0;
|
||||||
static double timer_period = 1.0; // period of API timer
|
static double timer_period = 1.0; // period of API timer
|
||||||
// This determines the resolution of fraction done and CPU time reporting
|
// This determines the resolution of fraction done and CPU time reporting
|
||||||
// to the core client, and of checkpoint enabling.
|
// to the core client, and of checkpoint enabling.
|
||||||
|
@ -119,11 +119,13 @@ int boinc_init(bool standalone_ /* = false */) {
|
||||||
standalone = standalone_;
|
standalone = standalone_;
|
||||||
|
|
||||||
retval = boinc_parse_init_data_file();
|
retval = boinc_parse_init_data_file();
|
||||||
if (retval) return retval;
|
|
||||||
|
|
||||||
retval = setup_shared_mem();
|
|
||||||
if (retval) {
|
if (retval) {
|
||||||
standalone = true;
|
standalone = true;
|
||||||
|
} else {
|
||||||
|
retval = setup_shared_mem();
|
||||||
|
if (retval) {
|
||||||
|
standalone = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// copy the WU CPU time to a separate var,
|
// copy the WU CPU time to a separate var,
|
||||||
|
|
|
@ -12977,3 +12977,10 @@ David June 2 2004
|
||||||
gui_titles.C
|
gui_titles.C
|
||||||
win/
|
win/
|
||||||
boinc_gui.rc
|
boinc_gui.rc
|
||||||
|
|
||||||
|
David June 2 2004
|
||||||
|
- API: if app init data file not present,
|
||||||
|
set standalone to true, don't return error
|
||||||
|
|
||||||
|
api/
|
||||||
|
boinc_api.C
|
||||||
|
|
Loading…
Reference in New Issue