System::Threading::ThreadPool::SetMaxThreads method
ThreadPool::SetMaxThreads method
Sets number of threads owned by pool.
static bool System::Threading::ThreadPool::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 ThreadPool
- Namespace System::Threading
- Library Aspose.PUB for C++