mirror of https://github.com/BOINC/boinc.git
- 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:
parent
28c72cab79
commit
74e8911f44
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue