svn path=/trunk/boinc/; revision=750
This commit is contained in:
Hamid Aghdaee 2002-12-17 00:23:45 +00:00
parent ceaa3521e8
commit 6bc6e27687
1 changed files with 9 additions and 9 deletions

View File

@ -122,11 +122,6 @@ int CLIENT_STATE::init() {
print_counts();
}
// set up the project and slot directories
//
make_project_dirs();
make_slot_dirs();
// Run the time tests and host information check if needed
// Getting host info is very fast, so we can do it anytime
@ -146,11 +141,16 @@ int CLIENT_STATE::init() {
// Set nslots to actual # of CPUs (or less, depending on prefs?)
//
if (gstate.host_info.p_ncpus > 0)
nslots = gstate.host_info.p_ncpus;
else
nslots = 1;
if (gstate.host_info.p_ncpus > 0)
nslots = gstate.host_info.p_ncpus;
else
nslots = 1;
// set up the project and slot directories
//
make_project_dirs();
make_slot_dirs();
// Restart any tasks that were running when we last quit the client
gstate.restart_tasks();