System::Threading::ThreadPoolImpl::SetMaxThreads method
ThreadPoolImpl::SetMaxThreads method
Sets number of threads owned by pool.
bool System::Threading::ThreadPoolImpl::SetMaxThreads(int wt, int cpt)
Parameter | Type | Description |
---|---|---|
wt | int | Maximal number of worker threads. |
cpt | int | Maximal number of IO threads. |
ReturnValue
True if parameters were accepted, false otherwise.
See Also
- Class ThreadPoolImpl
- Namespace System::Threading
- Library Aspose.PUB for C++