#include <worker.h>
Public Member Functions | |
void | interruptJobs () |
void | start () |
void | stop () |
Worker (Queue< T > &queue, unsigned int jobs_per_thread=10, bool auto_start=true) | |
virtual | ~Worker () |
Protected Member Functions | |
void | run (unsigned int n) |
Protected Attributes | |
bool | exit |
unsigned int | jobs_per_thread |
Queue< T > & | queue |
bool | run_jobs |
boost::mutex | run_jobs_mutex |
boost::thread | thread |
|
inline |
|
inlinevirtual |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |