System.Threading.TThreadPool.OnThreadTerminate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnThreadTerminate: TProc<TThread> read FOnThreadTerminate write FOnThreadTerminate;

C++

__property System::DelphiInterface<System::Sysutils::TProc__1<System::Classes::TThread*> > OnThreadTerminate = {read=FOnThreadTerminate, write=FOnThreadTerminate};

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 end of these pool threads. It allows the finalization of the thread.

Note: In contrast to InitializeCOM, OnThreadTerminate is platform independent.


See Also