summaryrefslogtreecommitdiff
path: root/lib/block_actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block_actor.cpp')
-rw-r--r--lib/block_actor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/block_actor.cpp b/lib/block_actor.cpp
index 10c863e..2ab5049 100644
--- a/lib/block_actor.cpp
+++ b/lib/block_actor.cpp
@@ -38,6 +38,7 @@ ThreadPool::ThreadPool(const ThreadPoolConfig &config)
config.processor_mask
);
+ //if (config.yield_strategy == "BLOCKING") params.mYieldStrategy = Theron::YIELD_STRATEGY_BLOCKING;
if (config.yield_strategy == "POLITE") params.mYieldStrategy = Theron::YIELD_STRATEGY_POLITE;
if (config.yield_strategy == "STRONG") params.mYieldStrategy = Theron::YIELD_STRATEGY_STRONG;
if (config.yield_strategy == "AGGRESSIVE") params.mYieldStrategy = Theron::YIELD_STRATEGY_AGGRESSIVE;