25 #include <lunchbox/thread.h> 29 # define CO_WORKER_API CO_API 31 # define CO_WORKER_API 37 template<
class Q >
class WorkerThread :
public lunchbox::Thread
42 : _commands( maxSize ) {}
52 CO_WORKER_API
void run()
override;
Defines export visibility macros for library Collage.
CO_WORKER_API void run() override
WorkerThread(const size_t maxSize=ULONG_MAX)
Construct a new worker thread.
A worker thread processing items out of a CommandQueue.
Object-oriented network library.
virtual bool stopRunning()
virtual bool notifyIdle()
virtual ~WorkerThread()
Destruct the worker.