*** empty log message ***

svn path=/trunk/boinc/; revision=6049
This commit is contained in:
Rom Walton 2005-05-05 22:35:48 +00:00
parent 8d7b398b00
commit f1274e5415
1 changed files with 3 additions and 2 deletions

View File

@ -549,6 +549,7 @@ bool ACTIVE_TASK_SET::check_quit_timeout_exceeded() {
unsigned int j;
ACTIVE_TASK *atp;
double now = dtime();
bool retval = false;
for (j=0;j<active_tasks.size();j++) {
atp = active_tasks[j];
@ -557,12 +558,12 @@ bool ACTIVE_TASK_SET::check_quit_timeout_exceeded() {
if (atp->pending_suspend_via_quit) {
if ((now - atp->pending_suspend_via_quit_time) > 10.0) {
atp->kill_task();
return true;
retval = true;
}
}
}
return false;
return retval;
}
// If process is running, send it a kill signal