System.Threading.TThreadPool.OnThreadStart
Delphi
property OnThreadStart: TProc<TThread> read FOnThreadStart write FOnThreadStart;
C++
__property System::DelphiInterface<System::Sysutils::TProc__1<System::Classes::TThread*> > OnThreadStart = {read=FOnThreadStart, write=FOnThreadStart};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Threading.pas System.Threading.hpp |
System.Threading | TThreadPool |
Description
Specifies the anonymous procedure that is called at the beginning of these pool threads. It allows the initialization of the thread.
Note: In contrast to InitializeCOM, OnThreadStart is platform independent.