mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3741
This commit is contained in:
parent
616ffa41ab
commit
6ba988fcfd
|
@ -14424,7 +14424,8 @@ Rom 1 July 2004
|
||||||
Daniel 2004-07-01
|
Daniel 2004-07-01
|
||||||
- client: scheduler now only calls set_client_state_dirty if some
|
- client: scheduler now only calls set_client_state_dirty if some
|
||||||
task was started or stopped (i.e. set of running tasks changed).
|
task was started or stopped (i.e. set of running tasks changed).
|
||||||
Also, don't try to schedule CPUs if there are no projects.
|
Also, don't try to schedule CPUs if there are no projects or
|
||||||
|
no results.
|
||||||
|
|
||||||
client/
|
client/
|
||||||
cs_apps.C
|
cs_apps.C
|
||||||
|
|
|
@ -345,6 +345,7 @@ bool CLIENT_STATE::schedule_cpus(bool must_reschedule) {
|
||||||
&& !have_free_cpu()
|
&& !have_free_cpu()
|
||||||
&& !must_reschedule)
|
&& !must_reschedule)
|
||||||
|| projects.size() < 1
|
|| projects.size() < 1
|
||||||
|
|| results.size() < 1
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue