System.SyncObjs.TEvent

From RAD Studio API Documentation
Jump to: navigation, search

System.SyncObjs.THandleObjectSystem.SyncObjs.TSynchroObjectSystem.TObjectTEvent

Delphi

TEvent = class(THandleObject)

C++

class PASCALIMPLEMENTATION TEvent : public THandleObject

Properties

Type Visibility Source Unit Parent
class public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs System.SyncObjs

Description

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