ThreadPool.this

Creates a thread-pool.

class ThreadPool
nothrow @nogc
this
(
int numThreads = 0
,
int maxThreads = 0
,
size_t stackSize = 0
)

Parameters

numThreads int

Number of threads to create (0 = auto).

maxThreads int

A maximum number of threads to create (0 = none).

stackSize size_t

Stack size to create threads with (0 = auto).

Meta