summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenedikt Hegner <hegner@cern.ch>2013-06-04 11:01:17 +0200
committerBenedikt Hegner <hegner@cern.ch>2013-06-04 11:01:17 +0200
commit89b3a26e1b12131c5262ca883d72858ace6e334b (patch)
tree639c0ba70b0608faa7d19b5d45f22b89b5240b01
parent3f2d5b62c7d7ff0cf7d354cc33b6e387ff9753a6 (diff)
make number of threads unsigned; allows setting -1 to give TBB freedom to choosev0.5-ref1305-patch1
-rw-r--r--GaudiHive/src/ForwardSchedulerSvc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/GaudiHive/src/ForwardSchedulerSvc.h b/GaudiHive/src/ForwardSchedulerSvc.h
index ec7a095..8cbf0ba 100644
--- a/GaudiHive/src/ForwardSchedulerSvc.h
+++ b/GaudiHive/src/ForwardSchedulerSvc.h
@@ -173,8 +173,8 @@ private:
/// Drain the actions present in the queue
StatusCode m_drain();
- /// Size of the threadpool initialised by TBB
- unsigned int m_threadPoolSize;
+ /// Size of the threadpool initialised by TBB; a value of -1 gives TBB the freedom to choose
+ int m_threadPoolSize;
// Actions management -----------------------------------------------------
typedef std::function<StatusCode ()> action;