SetMaxThreads()

ThreadPoolImpl::SetMaxThreads(int, int) method

Sets number of threads owned by pool.

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

Arguments

ParameterTypeDescription
wtintMaximal number of worker threads.
cptintMaximal number of IO threads.

Return Value

True if parameters were accepted, false otherwise.

See Also