mirror of https://github.com/BOINC/boinc.git
Client: Fix compiler warning (unused static function)
This commit is contained in:
parent
d7cd392300
commit
dea8c1cee4
|
@ -964,6 +964,7 @@ static inline bool in_run_list(vector<RESULT*>& run_list, ACTIVE_TASK* atp) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
// scan the runnable list, keeping track of CPU usage X.
|
// scan the runnable list, keeping track of CPU usage X.
|
||||||
// if find a MT job J, and X < ncpus, move J before all non-MT jobs
|
// if find a MT job J, and X < ncpus, move J before all non-MT jobs
|
||||||
// But don't promote a MT job ahead of a job in EDF
|
// But don't promote a MT job ahead of a job in EDF
|
||||||
|
@ -999,6 +1000,7 @@ static void promote_multi_thread_jobs(vector<RESULT*>& runnable_jobs) {
|
||||||
cur++;
|
cur++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// return true if r0 is more important to run than r1
|
// return true if r0 is more important to run than r1
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue