voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
Worker.alloc
voxelman
thread
worker
Worker
Undocumented in source. Be warned that the author may not have intended to support it.
struct
Worker
shared
void
alloc
(
size_t
groupIndex
= 0
,
string
debugName
= "W"
,
size_t
capacity
=
QUEUE_LENGTH
)
Meta
Source
See Implementation
voxelman
thread
worker
Worker
functions
alloc
free
isRunning
isStopped
needsToRun
notify
queuesEmpty
signalStopped
stop
waitForNotify
variables
groupIndex
resultQueue
running
taskQueue
thread
workAvaliable