System.SyncObjs.TSimpleEvent

From RAD Studio API Documentation
Jump to: navigation, search

System.SyncObjs.TEventSystem.SyncObjs.THandleObjectSystem.SyncObjs.TSynchroObjectSystem.TObjectTSimpleEvent

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.

See Also