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