A worker thread processing items out of a CommandQueue.
More...
#include <worker.h>
template<class Q>
class co::WorkerThread< Q >
A worker thread processing items out of a CommandQueue.
Definition at line 71 of file types.h.
Construct a new worker thread.
- Version
- 1.0
Definition at line 41 of file worker.h.
Destruct the worker.
- Version
- 1.0
Definition at line 45 of file worker.h.
- Returns
- the queue to the worker thread.
- Version
- 1.0
Definition at line 48 of file worker.h.
- Returns
- true to indicate pending idle tasks.
- Version
- 1.0
Definition at line 58 of file worker.h.
- See also
- lunchbox::Thread::run()
Definition at line 25 of file worker.ipp.
- Returns
- true to stop the worker thread.
- Version
- 1.0
Definition at line 55 of file worker.h.
The documentation for this class was generated from the following files: