#include <thread_pool.hh>
Public Types | |
typedef HandlerT | Handler |
typedef Handler::Request | Request |
Public Member Functions | |
template<class Construct > | |
Worker (PCQueue< Request > &in, Construct &construct, const Request &poison) | |
void | operator() () |
void | Join () |
Definition at line 15 of file thread_pool.hh.
typedef HandlerT util::Worker< HandlerT >::Handler |
Definition at line 17 of file thread_pool.hh.
typedef Handler::Request util::Worker< HandlerT >::Request |
Definition at line 18 of file thread_pool.hh.
util::Worker< HandlerT >::Worker | ( | PCQueue< Request > & | in, | |
Construct & | construct, | |||
const Request & | poison | |||
) | [inline] |
Definition at line 20 of file thread_pool.hh.
void util::Worker< HandlerT >::Join | ( | ) | [inline] |
Definition at line 43 of file thread_pool.hh.
void util::Worker< HandlerT >::operator() | ( | ) | [inline] |
Definition at line 24 of file thread_pool.hh.
References util::PCQueue< T >::Consume().