TThreadEvent
Thread synchronization primitive that allows waiting on a simple event
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TWaitableObject | Ahstract base class for an object that can be waited for using WaitFor |
3 | TThreadEvent |
Source
Thread.Event.pas (26)
Description
TThreadEvent
can be used to Signal
an other thread that a certain event has occurred. The other thread
uses WaitFor
to wait for the event to become signaled.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | protected | THandle | Handle |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | public | Create(ManualReset: TBoolean; InitialState: TBoolean) | ||
Instance | public | Destroy() | ||
Instance | public | Signal() | ||
Instance | public | Reset() | ||
Instance | public | TBoolean | IsSignaled() | |
Instance | public | THandle | GetWaitHandle() |