*** empty log message ***

svn path=/trunk/boinc/; revision=3497
This commit is contained in:
David Anderson 2004-06-03 04:25:44 +00:00
parent 8984d9a2c7
commit 3c964e41fb
2 changed files with 13 additions and 4 deletions

View File

@ -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,

View File

@ -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