System.Threading.TThreadPool.SetMinWorkerThreads
Delphi
function SetMinWorkerThreads(Value: Integer): Boolean;
C++
bool __fastcall SetMinWorkerThreads(int Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Threading.pas System.Threading.hpp |
System.Threading | TThreadPool |
Description
Sets the minimum number of threads that can work in the system.
SetMinWorkerThreads changes the value of the number of CPU cores if Value
is lower than the maximum number of threads. It returns True
if the change is succesful, False
otherwise.