Library of Assembled Shared Sources
|
implementation of ThreadPool's IdlePolicy More...
#include <thread_pool.h>
implementation of ThreadPool's IdlePolicy
Idle threads are put to sleep and signaled to awake when a condition is met. It results in a slower response of the threads, but it avoids wasting cpu cycles to idle threads.
Definition at line 180 of file thread_pool.h.