summaryrefslogtreecommitdiff
path: root/include/gras/thread_pool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gras/thread_pool.hpp')
-rw-r--r--include/gras/thread_pool.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gras/thread_pool.hpp b/include/gras/thread_pool.hpp
index abb4d99..e62da3a 100644
--- a/include/gras/thread_pool.hpp
+++ b/include/gras/thread_pool.hpp
@@ -54,6 +54,12 @@ struct GRAS_API ThreadPoolConfig
* Default is BLOCKING.
*/
std::string yield_strategy;
+
+ /*!
+ * Relative scheduling priority of the worker threads (range -1.0f to 1.0f, 0.0f is "normal").
+ * Default is 0.0f
+ */
+ float thread_priority;
};
/*!