summaryrefslogtreecommitdiff
path: root/include/gras/thread_pool.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-05-11 19:51:58 -0700
committerJosh Blum2013-05-11 19:51:58 -0700
commita847dd8414816158d11e142a002b67596719813c (patch)
tree3e7dacc2c369520beff8ed67f1f99b579e6742b7 /include/gras/thread_pool.hpp
parent9e0345551eb0916ad10f57bfdfd434fc2ea8b74c (diff)
downloadsandhi-a847dd8414816158d11e142a002b67596719813c.tar.gz
sandhi-a847dd8414816158d11e142a002b67596719813c.tar.bz2
sandhi-a847dd8414816158d11e142a002b67596719813c.zip
gras: special note about the GRAS_YIELD environment variable
Diffstat (limited to 'include/gras/thread_pool.hpp')
-rw-r--r--include/gras/thread_pool.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gras/thread_pool.hpp b/include/gras/thread_pool.hpp
index 2d25178..a15b843 100644
--- a/include/gras/thread_pool.hpp
+++ b/include/gras/thread_pool.hpp
@@ -52,6 +52,7 @@ struct GRAS_API ThreadPoolConfig
* STRONG, ///< Threads yield to other threads but don't go to sleep.
* AGGRESSIVE ///< Threads never yield to other threads.
* Default is BLOCKING.
+ * The default can be overridden with the GRAS_YIELD environment variable.
*/
std::string yield_strategy;