*** empty log message ***

svn path=/trunk/boinc/; revision=3741
This commit is contained in:
Daniel Hsu 2004-07-01 22:21:33 +00:00
parent 616ffa41ab
commit 6ba988fcfd
2 changed files with 3 additions and 1 deletions

View File

@ -14424,7 +14424,8 @@ Rom 1 July 2004
Daniel 2004-07-01
- client: scheduler now only calls set_client_state_dirty if some
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/
cs_apps.C

View File

@ -345,6 +345,7 @@ bool CLIENT_STATE::schedule_cpus(bool must_reschedule) {
&& !have_free_cpu()
&& !must_reschedule)
|| projects.size() < 1
|| results.size() < 1
) {
return false;
}