System::Threading::ThreadPool::SetMaxThreads 方法

ThreadPool::SetMaxThreads method

设置池拥有的线程数。

static bool System::Threading::ThreadPool::SetMaxThreads(int wt, int cpt)
ParameterType描述
wtint工作线程的最大数量。
cptintIO 线程的最大数量。

ReturnValue

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

另见