SetMinThreads()

ThreadPoolImpl::SetMinThreads(int, int) method

Sets minimal number of threads owned by pool.

bool System::Threading::ThreadPoolImpl::SetMinThreads(int wt, int cpt)

Arguments

ParameterTypeDescription
wtintMinimal number of worker threads.
cptintMinimal number of IO threads.

Return Value

True if parameters were accepted, false otherwise.

See Also