Represents a method pointer for Synchronized method calls.
TIdSynchronizeThreadEvent = procedure (AThread: TIdThread; AData: Pointer) of object;
Parameters |
Description |
AThread |
Indy thread for the event notification. |
AData |
User-defined values for the Synchronized method call. |
TIdSynchronizeThreadEvent is a method pointer type used when an executing thread needs to be synchronized using the main VCL thread. TIdSynchronizeThreadEvent allows the thread in AThread to synchronize using an internal structure that can contain a reference to the thread, the TNotifyEvent or Thread method to use for executing the Synchronize method, and user-defined data for the method.
TIdSynchronizeThreadEvent is the type used as an argument to the overloaded TIdThread.Synchronize method.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |