*** empty log message ***

svn path=/trunk/boinc/; revision=365
This commit is contained in:
David Anderson 2002-08-22 21:04:42 +00:00
parent 51cf739dfd
commit eadede3a91
6 changed files with 11 additions and 6 deletions

View File

@ -331,7 +331,7 @@ int ACTIVE_TASK::start(bool first_time) {
0,
NULL
);
fprintf(stdout, "CreateProcess: %s\n", (LPCTSTR)lpMsgBuf);
fprintf(stdout, "CreateProcess: %s\n", (LPCTSTR)lpMsgBuf);
}
pid_handle = process_info.hProcess;

View File

@ -837,3 +837,7 @@ bool CLIENT_STATE::time_to_exit() {
}
return false;
}
void CLIENT_STATE::set_client_state_dirty() {
client_state_dirty = true;
}

View File

@ -51,7 +51,6 @@ public:
void update_net_stats(bool is_upload, double nbytes, double nsecs);
int insert_file_xfer( FILE_XFER *fxp );
unsigned int giveup_after;
bool client_state_dirty;
vector<PROJECT*> projects;
vector<APP*> apps;
@ -68,6 +67,7 @@ public:
HOST_INFO host_info;
PREFS* prefs;
private:
bool client_state_dirty;
TIME_STATS time_stats;
NET_STATS net_stats;
int version;
@ -114,6 +114,7 @@ public:
double work_needed_secs();
int make_scheduler_request(PROJECT*, double);
void handle_scheduler_reply(PROJECT*, char* scheduler_url);
void set_client_state_dirty();
private:
PROJECT* find_project_with_overdue_results();
bool some_project_rpc_ok();

View File

@ -73,7 +73,7 @@ bool CLIENT_STATE::handle_running_apps() {
app_finished(*atp);
active_tasks.remove(atp);
delete atp;
client_state_dirty = true;
set_client_state_dirty();
action = true;
}
}
@ -132,7 +132,7 @@ bool CLIENT_STATE::start_apps() {
atp->init(rp);
active_tasks.insert(atp);
action = true;
client_state_dirty = true;
set_client_state_dirty();
app_started = time(0);
}
}

View File

@ -361,7 +361,7 @@ bool CLIENT_STATE::get_work() {
break;
} else {
handle_scheduler_reply(*scheduler_op);
client_state_dirty = true;
set_client_state_dirty();
}
}
break;

View File

@ -258,7 +258,7 @@ bool PERS_FILE_XFER_SET::poll() {
action |= pers_file_xfers[i]->poll(now);
}
if (action) gstate.client_state_dirty = true;
if (action) gstate.set_client_state_dirty();
return action;
}