svn path=/trunk/boinc/; revision=14914

This commit is contained in:
David Anderson 2008-03-14 19:55:32 +00:00
parent 0498bcd89e
commit aefe4ee18b
3 changed files with 16 additions and 8 deletions

View File

@ -1204,13 +1204,13 @@ David Feb 5 2008
delete_file.C
David Feb 5 2008
- win compile fixes
- win compile fixes
client/
sim_util.C
clientgui/
BOINCBaseFrame.cpp
MainDocument.cpp
client/
sim_util.C
clientgui/
BOINCBaseFrame.cpp
MainDocument.cpp
Rom Feb 5 2008
- MGR: Cache the local computer name in statics to avoid functions
@ -1586,8 +1586,8 @@ David Feb 23 2008
- client: fix crashing bug in SCHEDULER_OP::backoff().
Was using cur_proj (which is potentially NULL) instead of p
client/
scheduler_op.C
client/
scheduler_op.C
David Feb 25 2008
- scheduler: add a general method for excluding hosts from job distribution.
@ -2381,3 +2381,9 @@ Rom Mar 13 2008
graphics2_util.C
lib/
shmem.C
David Mar 14 2008
- Add "opaque" field to APP_INIT_DATA (for passing #threads, etc.)
lib/
app_ipc.C,h

View File

@ -228,6 +228,7 @@ int parse_init_data_file(FILE* f, APP_INIT_DATA& ai) {
if (xp.parse_str(tag, "project_dir", ai.project_dir, sizeof(ai.project_dir))) continue;
if (xp.parse_str(tag, "boinc_dir", ai.boinc_dir, sizeof(ai.boinc_dir))) continue;
if (xp.parse_str(tag, "authenticator", ai.authenticator, sizeof(ai.authenticator))) continue;
if (xp.parse_str(tag, "opaque", ai.opaque, sizeof(ai.opaque))) continue;
if (xp.parse_str(tag, "wu_name", ai.wu_name, sizeof(ai.wu_name))) continue;
#ifdef _WIN32
if (xp.parse_str(tag, "comm_obj_name", ai.shmem_seg_name, sizeof(ai.shmem_seg_name))) continue;

View File

@ -166,6 +166,7 @@ struct APP_INIT_DATA {
char boinc_dir[256];
char wu_name[256];
char authenticator[256];
char opaque[256];
int slot;
double user_total_credit;
double user_expavg_credit;