System.SyncObjs.TSimpleEvent
![TSimpleEvent](/images/Libraries/Tokyo/e/9/9b/System.SyncObjs.TSimpleEvent.png)
Delphi
TSimpleEvent = class(TEvent);
C++
class PASCALIMPLEMENTATION TSimpleEvent : public TEvent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | System.SyncObjs |
Description
TSimpleEvent represents an unnamed manual event object.
Use TSimpleEvent to coordinate between threads that all have access to the same simple event object. TSimpleEvent can also be used in a single-threaded application to coordinate sections of code that respond to different asynchronous events such as system messages or user actions.
Because TSimpleEvent represents an unnamed event object, a single TSimpleEvent object must be within the scope of all code that uses it. To coordinate with code that is out of scope, or with other applications, use a named TEvent object.