Skip to content

TNotifyCallBack

Thread termination callback handler

Declaration

Source position: classesh.inc line 1850

Type
TNotifyCallBack = procedure(Sender: TObject; AData: Pointer)

Description

TNotifyCallBack is used to notify about thread termination when using static callbacks. When called, the Sender will contain the thread which is terminating, and AData is the AData parameter passed to TThread.ExecuteInThread .

See also

Name Description
TThread Abstract Thread class.
TThread.ExecuteInThread Execute a method or static procedure in a thread