SetMinThreads()

ThreadPool::SetMinThreads(int, int) method

Sets minimal number of threads owned by pool.

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