Indy 9
TIdSyncMethod
See Also
Extends thread-based notification and synchronize method calls for thread methods.
Description
TIdSyncMethod is a TIdSync descendant that extends the Synchronized methods calls and notification messages in the ancestor class to use thread methods.

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.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.