diff options
author | Josh Blum | 2012-11-08 20:41:48 -0800 |
---|---|---|
committer | Josh Blum | 2012-11-08 20:41:48 -0800 |
commit | 56c61fd8647499674747afd5741d600eb9c9792f (patch) | |
tree | 27baddc3438d118898959de2d4a4aa020b6feff2 /lib | |
parent | 2d27feae95e7e60135b61813532e5022bb8ad83d (diff) | |
download | sandhi-56c61fd8647499674747afd5741d600eb9c9792f.tar.gz sandhi-56c61fd8647499674747afd5741d600eb9c9792f.tar.bz2 sandhi-56c61fd8647499674747afd5741d600eb9c9792f.zip |
updated the subprojects for Theron 5.01.00
Diffstat (limited to 'lib')
-rw-r--r-- | lib/block_actor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/block_actor.cpp b/lib/block_actor.cpp index 0576588..db4582f 100644 --- a/lib/block_actor.cpp +++ b/lib/block_actor.cpp @@ -52,9 +52,9 @@ ThreadPool::ThreadPool(const ThreadPoolConfig &config) config.processor_mask ); - if (config.yield_strategy == "POLITE") params.mYieldStrategy = Theron::Framework::YIELD_STRATEGY_POLITE; - if (config.yield_strategy == "STRONG") params.mYieldStrategy = Theron::Framework::YIELD_STRATEGY_STRONG; - if (config.yield_strategy == "AGGRESSIVE") params.mYieldStrategy = Theron::Framework::YIELD_STRATEGY_AGGRESSIVE; + 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; this->reset(new Theron::Framework(Theron::Framework::Parameters(params))); } |