Collage
1.7.0
High-performance C++ library for developing object-oriented distributed applications.
|
A worker thread processing items out of a CommandQueue. More...
#include <worker.h>
Public Member Functions | |
WorkerThread (const size_t maxSize=ULONG_MAX) | |
Construct a new worker thread. More... | |
virtual | ~WorkerThread () |
Destruct the worker. More... | |
Q * | getWorkerQueue () |
Protected Member Functions | |
CO_WORKER_API void | run () override |
virtual bool | stopRunning () |
virtual bool | notifyIdle () |
A worker thread processing items out of a CommandQueue.
|
inlineexplicit |
|
inlinevirtual |
|
inline |
Definition at line 50 of file worker.h.
References co::WorkerThread< Q >::run().
|
inlineprotectedvirtual |
|
overrideprotected |
Definition at line 26 of file worker.ipp.
Referenced by co::WorkerThread< Q >::getWorkerQueue().
|
inlineprotectedvirtual |