System::Threading::ThreadPool::SetMaxThreads メソッド
ThreadPool::SetMaxThreads method
プールが所有するスレッド数を設定します。
static bool System::Threading::ThreadPool::SetMaxThreads(int wt, int cpt)
| パラメーター | 型 | 説明 |
|---|---|---|
| wt | int | ワーカースレッドの最大数。 |
| cpt | int | IO スレッドの最大数。 |
ReturnValue
パラメーターが受け入れられた場合は true、そうでない場合は false。
参照
- Class ThreadPool
- Namespace System::Threading
- Library Aspose.Page for C++