Function TaskPool.this
Creates a new task pool with the specified number of threads.
this
(
ulong thread_count = cast(ulong)logicalProcessorCount()
) nothrow @safe shared;
Parameters
Name | Description |
---|---|
thread_count | The number of worker threads to create |