concurrency.thread

Undocumented in source.

Members

Aliases

WorkItem
alias WorkItem = Variant!(typeof(null), VoidDelegate, VoidFunction, AddTimer, RemoveTimer)
Undocumented in source.
WorkQueue
alias WorkQueue = WaitableQueue!(MPSCQueue!WorkNode)
Undocumented in source.

Classes

LocalThreadExecutor
class LocalThreadExecutor
Undocumented in source.
ThreadExecutor
class ThreadExecutor
Undocumented in source.

Functions

executeAndWait
auto executeAndWait(Executor executor, Work work, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
executeInNewThread
void executeInNewThread(VoidFunction fn)
Undocumented in source. Be warned that the author may not have intended to support it.
executeInNewThread
void executeInNewThread(VoidDelegate fn)
Undocumented in source. Be warned that the author may not have intended to support it.
getLocalThreadExecutor
LocalThreadExecutor getLocalThreadExecutor()
Undocumented in source. Be warned that the author may not have intended to support it.
stdTaskPool
shared(StdTaskPool) stdTaskPool(size_t nWorkers)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

AddTimer
struct AddTimer
Undocumented in source.
LocalThreadWorker
struct LocalThreadWorker
Undocumented in source.
RemoveTimer
struct RemoveTimer
Undocumented in source.
StdTaskPool
struct StdTaskPool
Undocumented in source.
StdTaskPoolProtoScheduler
struct StdTaskPoolProtoScheduler
Undocumented in source.
ThreadSender
struct ThreadSender
Undocumented in source.
WorkNode
struct WorkNode
Undocumented in source.

Meta