Indy 9
|
TIdSyncMethod implements the abstract virtual DoSynchronize method from the ancestor class, and provides Method to represent the thread method to be used in Notify and Synchronize method calls.
An instance of TIdSyncMethod is used when TIdThread calls Notify or Synchronize using a ThreadMethod. It is added to the global thread-based notification mechanism used in place of PostMessage because of changes to the Synchronize method calls in Delphi 6 and Kylix, and also provides a low overhead notification mechanism for server applications.