Pool

Undocumented in source.

Constructors

this
this(int workerThreads)
Undocumented in source.

Members

Functions

empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
makeWorker
Nullable!Tid makeWorker(F func, ARGS args)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
bool receive(T ops)

Relay data in the mailbox back to the provided function.

removeWorker
void removeWorker(Tid tid)
Undocumented in source. Be warned that the author may not have intended to support it.
run
bool run(F func, ARGS args)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

pool
Tid[] pool;
Undocumented in source.
workerThreads
int workerThreads;
Undocumented in source.

Meta