*** empty log message ***

svn path=/trunk/boinc/; revision=370
This commit is contained in:
David Anderson 2002-08-22 22:35:55 +00:00
parent 9fc8f33c2f
commit 9ef1d46439
2 changed files with 2 additions and 2 deletions

View File

@ -395,7 +395,6 @@ bool ACTIVE_TASK_SET::poll() {
for (i=0; i<active_tasks.size(); i++) {
atp = active_tasks[i];
if (GetExitCodeProcess(atp->pid_handle, &exit_code)) {
found = true;
// Get the elapsed CPU time
if (GetProcessTimes(atp->pid_handle, &creation_time, &exit_time, &kernel_time, &user_time)) {
tKernel.LowPart = kernel_time.dwLowDateTime;
@ -413,6 +412,7 @@ bool ACTIVE_TASK_SET::poll() {
atp->result->final_cpu_time = ((double)clock())/CLOCKS_PER_SEC;
}
if (exit_code != STILL_ACTIVE) {
found = true;
// Not sure how to incorporate the other states (WAS_SIGNALED, etc)
atp->state = PROCESS_EXITED;
atp->exit_status = exit_code;

View File

@ -333,7 +333,7 @@ bool SCHEDULER_OP::poll() {
default:
break;
}
if (log_flags.sched_op_debug && action) printf("SCHEDULER_OP::poll\n);
if (log_flags.sched_op_debug && action) printf("SCHEDULER_OP::poll\n");
return action;
}