mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3724
This commit is contained in:
parent
2a58405b6e
commit
515f96e745
|
@ -176,11 +176,11 @@ do num_cpus times:
|
||||||
P = argmax { P.anticipated_debt } over all P in projects with runnable result
|
P = argmax { P.anticipated_debt } over all P in projects with runnable result
|
||||||
if none:
|
if none:
|
||||||
break
|
break
|
||||||
if (some T in P is RUNNING):
|
if (some T (not already scheduled to run) for P is RUNNING):
|
||||||
T.next_scheduler_state = RUNNING
|
T.next_scheduler_state = RUNNING
|
||||||
P.anticipated_debt -= expected_pay_off
|
P.anticipated_debt -= expected_pay_off
|
||||||
continue
|
continue
|
||||||
if (some T in P is PREEMPTED):
|
if (some T (not already scheduled to run) for P is PREEMPTED):
|
||||||
T.next_scheduler_state = RUNNING
|
T.next_scheduler_state = RUNNING
|
||||||
P.anticipated_debt -= expected_pay_off
|
P.anticipated_debt -= expected_pay_off
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue