Internet Direct (Indy) Version 9.0.1 Beta
TIdSync.DoSynchronize
Specifices the mechanism for implementing a synchronized method.

procedure DoSynchronize; virtual; abstract;
Description
DoSynchronize is an abstract virtual procedure in TIdSync, and specifies the mechanism to be used for implementing a method call that must be executed using the main VCL thread to avoid multi-threading conflicts. DoSynchronize is the method used when the object instance calls Synchronize.

Note: TIdSync provides synchronization and notification for threads. Descendant classes should override the DoSynchronize method to implement support for thread methods, or methods with parameters and/or return values.