System::Threading::ThreadPool::SetMaxThreads method

ThreadPool::SetMaxThreads method

Sets number of threads owned by pool.

static bool System::Threading::ThreadPool::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