Ancestor class for thread-based event notifications.
TEvent = class(TObject);
TEvent is a TObject descendant that implements the ancestor for the TIdLocalEvent class on the .Net platform. TEvent provides the functionality required for thread-based event notifications using waitable event handles.
On the ,Net platform, TEvent provides a wrapper for the WaitHandle class in the FCL. WaitHandle instances are typically used when implementing synchronized access to object instances.
TEvent defines a signaling mechanism to indicate taking or releasing exclusive access to a shared resource using WaitHandle methods to block while waiting for access to shared resources.
TEvent also isolates differences between the implementations for the AutoResetEvent and the ManualResetEvent descendants in the FCL.
Use the methods of this class to block a thread until one or more synchronization objects receive a signal.
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. |