API: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

TEvent represents an external event.

System.SyncObjs.TSimpleEvent inherits from System.SyncObjs.TEvent. All content below this line refers to System.SyncObjs.TEvent.

TEvent represents an external event.

Use TEvent to signal that an event has occurred or a state has been reached.

In a multi-threaded application, use TEvent to allow one thread to signal to other threads that an event has occurred.

The handle of a TEvent object can also be used to communicate with other processes, so that an application can coordinate the timing of events with other applications. For example, use the handle of a TEvent object to wait until another process is ready to transfer information.

In a single-threaded application, use TEvent to coordinate between sections of code that respond to asynchronous events such as system events.

See Also