25 #include <lunchbox/thread.h>
28 # define CO_WORKER_API CO_API
34 template<
class Q >
class WorkerThread :
public lunchbox::Thread
50 setName( lunchbox::className(
this ));
55 CO_WORKER_API
virtual void run();
68 typedef WorkerThread< CommandQueue > Worker;
virtual bool notifyIdle()
virtual bool stopRunning()
virtual ~WorkerThread()
Destruct the worker.
WorkerThread()
Construct a new worker thread.
virtual CO_WORKER_API void run()