Function TaskPool.this
Creates a new task pool with the specified number of threads.
this
(
ulong thread_count = cast(ulong)logicalProcessorCount(),
string thread_name_prefix = "vibe"
) nothrow @safe shared;
Parameters
Name | Description |
---|---|
thread_count | The number of worker threads to create |
thread_name_prefix | Optional prefix to use for thread names |