System.Threading.TThreadPool.SetMinWorkerThreads

From RAD Studio API Documentation
Revision as of 16:16, 27 October 2014 by Monicab (talk | contribs) (RS-55612)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

See Also