Worker

Undocumented in source.

Members

Functions

alloc
void alloc(string debugName, size_t capacity)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
isRunning
bool isRunning()
Undocumented in source. Be warned that the author may not have intended to support it.
isStopped
bool isStopped()
Undocumented in source. Be warned that the author may not have intended to support it.
needsToRun
bool needsToRun()
Undocumented in source. Be warned that the author may not have intended to support it.
notify
void notify()
Undocumented in source. Be warned that the author may not have intended to support it.
queuesEmpty
bool queuesEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
signalStopped
void signalStopped()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
waitForNotify
void waitForNotify()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

resultQueue
SharedQueue resultQueue;
Undocumented in source.
running
bool running;
Undocumented in source.
taskQueue
SharedQueue taskQueue;
Undocumented in source.
thread
Thread thread;
Undocumented in source.
workAvaliable
Semaphore workAvaliable;
Undocumented in source.

Meta