mirror of https://github.com/BOINC/boinc.git
- debug "exclusive app" feature
svn path=/trunk/boinc/; revision=16090
This commit is contained in:
parent
b595d7af76
commit
30aecfc6f8
|
@ -155,6 +155,10 @@ int CLIENT_STATE::check_suspend_processing() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (active_tasks.exclusive_app_running) {
|
||||
return SUSPEND_REASON_EXCLUSIVE_APP_RUNNING;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1007,7 +1007,7 @@ void CViewWork::GetDocStatus(wxInt32 item, wxString& strBuffer) const {
|
|||
if (status.task_suspend_reason & SUSPEND_REASON_DISK_SIZE) {
|
||||
strBuffer += _(" - need disk space");
|
||||
}
|
||||
if (status.task_suspend_reason & SUSPEND_REASON_EXCLUSIVE_APP) {
|
||||
if (status.task_suspend_reason & SUSPEND_REASON_EXCLUSIVE_APP_RUNNING) {
|
||||
strBuffer += _(" - an exclusive app is running");
|
||||
}
|
||||
} else if (result->active_task) {
|
||||
|
|
|
@ -110,7 +110,7 @@ enum SUSPEND_REASON {
|
|||
SUSPEND_REASON_CPU_USAGE_LIMIT = 64,
|
||||
SUSPEND_REASON_NO_RECENT_INPUT = 128,
|
||||
SUSPEND_REASON_INITIAL_DELAY = 256,
|
||||
SUSPEND_REASON_EXCLUSIVE_APP = 512,
|
||||
SUSPEND_REASON_EXCLUSIVE_APP_RUNNING = 512,
|
||||
};
|
||||
|
||||
// States of a result on a client.
|
||||
|
|
Loading…
Reference in New Issue