System.Types.TMultiWaitEvent

Delphi
TMultiWaitEvent = class abstract
C++
class PASCALIMPLEMENTATION TMultiWaitEvent : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
Description
Abstract base class that the System.Classes unit fully implements. IAsyncResult.GetAsyncWaitEvent uses this class as the return type.
TMultiWaitEvent provides methods that you can use to:
- Block: WaitFor, WaitForAll, and WaitForAny.
- Manipulate a list of waiters: RemoveWaiter, PushWaiter, and GetWaiter.
- Signal the waiters in the list: NotifyWaiters, SetEvent, and ResetEvent.
You can implement this class by creating a descendant, but we recommend that you use the implementation that System.Classes provides. If you attempt to create an alternative implementation you must adhere to the rules that are laid out in the abstract virtual methods.
See Also
- System.Types.TMultiWaitEvent.WaitFor
- System.Types.TMultiWaitEvent.WaitForAny
- System.Types.TMultiWaitEvent.WaitForAll
- System.Types.TMultiWaitEvent.RemoveWaiter
- System.Types.TMultiWaitEvent.PushWaiter
- System.Types.TMultiWaitEvent.GetWaiter
- System.Types.TMultiWaitEvent.NotifyWaiters
- System.Types.TMultiWaitEvent.SetEvent
- System.Types.TMultiWaitEvent.ResetEvent
- System.Types.TMultiWaitEvent.Lock
- System.Types.TMultiWaitEvent.Unlock