System::Threading::ThreadPool::SetMinThreads 方法

ThreadPool::SetMinThreads method

设置池拥有的最小线程数。

static bool System::Threading::ThreadPool::SetMinThreads(int wt, int cpt)
ParameterType描述
wtint工作线程的最小数量。
cptint最小的 IO 线程数量。

ReturnValue

如果参数被接受则为 true,否则为 false。

另见