From 98d9cfae6ff0cc5b9e0cf93ebf369d78738b852e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 13 Nov 2009 21:57:25 +0000 Subject: [PATCH] - client: fix exclusive_gpu_app feature so that it responds within 10 sec instead of 60 sec svn path=/trunk/boinc/; revision=19577 --- checkin_notes | 8 ++++++++ client/app.cpp | 5 +++++ client/log_flags.cpp | 13 +++++++++++++ 3 files changed, 26 insertions(+) diff --git a/checkin_notes b/checkin_notes index 4091d16cf7..465ee89584 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9212,3 +9212,11 @@ Rom 13 Nov 2009 boincsvcctrl.vcproj boinctray.vcproj libboinc.vcproj + +David 13 Nov 2009 + - client: fix exclusive_gpu_app feature so that it responds + within 10 sec instead of 60 sec + + client/ + app.cpp + log_flags.cpp diff --git a/client/app.cpp b/client/app.cpp index 8661997629..f1d6d654d2 100644 --- a/client/app.cpp +++ b/client/app.cpp @@ -297,6 +297,7 @@ void ACTIVE_TASK_SET::free_mem() { bool app_running(vector& piv, const char* p) { for (unsigned int i=0; i& devs, const char* name) { // TODO: show other config options // void CONFIG::show() { + unsigned int i; if (config.ncpus>=0) { msg_printf(NULL, MSG_INFO, "Config: use at most %d CPUs", config.ncpus); } @@ -192,6 +193,18 @@ void CONFIG::show() { } show_gpu_ignore(ignore_cuda_dev, "NVIDIA"); show_gpu_ignore(ignore_ati_dev, "ATI"); + for (i=0; i