System.Threading.TThreadPool.SetMinWorkerThreads
Delphi
function SetMinWorkerThreads(Value: Integer): Boolean;
C++
bool __fastcall SetMinWorkerThreads(int Value);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.Threading.pas System.Threading.hpp |
System.Threading | TThreadPool |
説明
システム内で動作できる最小スレッド数を設定します。
Value が最大スレッド数より小さい場合、SetMinWorkerThreads は CPU コア数の値を変更します。変更が成功すれば True が、成功しなければ False が返されます。