mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=6049
This commit is contained in:
parent
8d7b398b00
commit
f1274e5415
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue