- client: When a preemptable task wasn't preempted

(e.g. because it hadn't finished its time slice)
		we were failing to mark it as scheduled.

svn path=/trunk/boinc/; revision=17860
This commit is contained in:
David Anderson 2009-04-23 06:44:46 +00:00
parent 28c72cab79
commit 74e8911f44
2 changed files with 9 additions and 0 deletions

View File

@ -4132,3 +4132,11 @@ Rom 22 Apr 2009
str_util.cpp
util.cpp
win_util.cpp, .h
David 22 Apr 2009
- client: When a preemptable task wasn't preempted
(e.g. because it hadn't finished its time slice)
we were failing to mark it as scheduled.
client/
cpu_sched.cpp

View File

@ -975,6 +975,7 @@ bool CLIENT_STATE::enforce_schedule() {
} else {
atp->too_large = false;
ram_left -= atp->procinfo.working_set_size_smoothed;
atp->next_scheduler_state = CPU_SCHED_SCHEDULED;
}
}