System::Threading::ThreadPoolImpl::SetMaxThreads method

ThreadPoolImpl::SetMaxThreads method

Sets number of threads owned by pool.

bool System::Threading::ThreadPoolImpl::SetMaxThreads(int wt, int cpt)
ParameterTypeDescription
wtintMaximal number of worker threads.
cptintMaximal number of IO threads.

ReturnValue

True if parameters were accepted, false otherwise.

See Also