diff options
author | Josh Blum | 2013-05-03 00:07:45 -0700 |
---|---|---|
committer | Josh Blum | 2013-05-03 00:07:45 -0700 |
commit | 16b78fc6828e7a42cdf28fb2d22d288c94f62649 (patch) | |
tree | 84368d67a365245a3426f091640292e1ca3232aa /include/gras/thread_pool.hpp | |
parent | f87d54cad2e914ce244c72da790579f8fda504fa (diff) | |
download | sandhi-16b78fc6828e7a42cdf28fb2d22d288c94f62649.tar.gz sandhi-16b78fc6828e7a42cdf28fb2d22d288c94f62649.tar.bz2 sandhi-16b78fc6828e7a42cdf28fb2d22d288c94f62649.zip |
gras: update thread pool comments
Diffstat (limited to 'include/gras/thread_pool.hpp')
-rw-r--r-- | include/gras/thread_pool.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gras/thread_pool.hpp b/include/gras/thread_pool.hpp index dd623d3..abb4d99 100644 --- a/include/gras/thread_pool.hpp +++ b/include/gras/thread_pool.hpp @@ -47,10 +47,11 @@ struct GRAS_API ThreadPoolConfig /*! * Yield strategy employed by the worker threads in the framework. + * BLOCKING, ///< Threads block on condition variables. * POLITE, ///< Threads go to sleep when not in use. * STRONG, ///< Threads yield to other threads but don't go to sleep. * AGGRESSIVE ///< Threads never yield to other threads. - * Default is STRONG. + * Default is BLOCKING. */ std::string yield_strategy; }; |