ThreadPool
Allocate a new ThreadPool.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new ThreadPool using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new ThreadPool.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
the user data for the threads of this pool
are all threads exclusive to this pool
Allocate a new ThreadPool using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
the user data for the threads of this pool
are all threads exclusive to this pool
The AutofreeScope to allocate this structure in.