mirror of https://github.com/BOINC/boinc.git
scheduler: create host_app_version records in NCI case
This commit is contained in:
parent
c1e980870d
commit
4b5a099f81
|
@ -59,6 +59,12 @@ using std::vector;
|
||||||
// see:
|
// see:
|
||||||
// man 5 proc
|
// man 5 proc
|
||||||
// /usr/src/linux/fs/proc/array.C
|
// /usr/src/linux/fs/proc/array.C
|
||||||
|
//
|
||||||
|
// Interesting note: the command part of /proc/PID/stat is the first
|
||||||
|
// 15 characters of the executable filename.
|
||||||
|
// If you want the entire filename, or the rest of the cmdline,
|
||||||
|
// you need to parse /proc/PID/cmdline,
|
||||||
|
// which is the cmdline with NULL separators
|
||||||
|
|
||||||
struct PROC_STAT {
|
struct PROC_STAT {
|
||||||
int pid;
|
int pid;
|
||||||
|
|
|
@ -1608,8 +1608,7 @@ void send_work() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!work_needed(false)) {
|
if (!work_needed(false)) {
|
||||||
send_user_messages();
|
goto done;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.locality_scheduler_fraction > 0) {
|
if (config.locality_scheduler_fraction > 0) {
|
||||||
|
|
Loading…
Reference in New Issue