System::Threading::ThreadPool::SetMaxThreads 方法
ThreadPool::SetMaxThreads method
设置池拥有的线程数量。
static bool System::Threading::ThreadPool::SetMaxThreads(int wt, int cpt)
| 参数 | 类型 | 描述 |
|---|---|---|
| 工作线程 | int | 工作线程的最大数量。 |
| cpt | int | 最大数量的 IO 线程。 |
ReturnValue
如果参数被接受则为 True,否则为 false。
另见
- Class ThreadPool
- Namespace System::Threading
- Library Aspose.Font for C++