- client: if an exclusive app is running, suspend network

as well as processing

svn path=/trunk/boinc/; revision=16552
This commit is contained in:
David Anderson 2008-11-24 21:27:43 +00:00
parent 79ed766ea8
commit fbd50f4ec4
2 changed files with 10 additions and 0 deletions

View File

@ -9570,3 +9570,10 @@ David 24 Nov 2008
lib/
gui_rpc_client.h
gui_rpc_client_ops.cpp
David 24 Nov 2008
- client: if an exclusive app is running, suspend network
as well as processing
client/
cs_prefs.cpp

View File

@ -222,6 +222,9 @@ int CLIENT_STATE::check_suspend_network() {
if (global_prefs.net_times.suspended()) {
return SUSPEND_REASON_TIME_OF_DAY;
}
if (active_tasks.exclusive_app_running) {
return SUSPEND_REASON_EXCLUSIVE_APP_RUNNING;
}
return 0;
}