mirror of https://github.com/BOINC/boinc.git
parent
ceaa3521e8
commit
6bc6e27687
|
@ -122,11 +122,6 @@ int CLIENT_STATE::init() {
|
||||||
print_counts();
|
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
|
// Run the time tests and host information check if needed
|
||||||
|
|
||||||
// Getting host info is very fast, so we can do it anytime
|
// 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?)
|
// Set nslots to actual # of CPUs (or less, depending on prefs?)
|
||||||
//
|
//
|
||||||
if (gstate.host_info.p_ncpus > 0)
|
if (gstate.host_info.p_ncpus > 0)
|
||||||
nslots = gstate.host_info.p_ncpus;
|
nslots = gstate.host_info.p_ncpus;
|
||||||
else
|
else
|
||||||
nslots = 1;
|
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
|
// Restart any tasks that were running when we last quit the client
|
||||||
gstate.restart_tasks();
|
gstate.restart_tasks();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue