API:System.SyncObjs.TCountdownEvent

Delphi
TCountdownEvent = class(TSynchroObject)
C++
class PASCALIMPLEMENTATION TCountdownEvent : public TSynchroObject
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | System.SyncObjs |
Description
TSynchroObject is the base class for all thread synchronization objects. {{#multireplace:System.SyncObjs.TCountdownEvent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.SyncObjs.TSynchroObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.SyncObjs.TSynchroObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
TSynchroObject is the base class for all thread synchronization objects.
Use TSynchroObject as a base class when defining an object that coordinates the execution of different threads in a multi-threaded application. Synchronization objects include critical sections that temporarily block the execution of other threads, which may interfere with the successful completion of a section of code, and event objects that allow threads to signal when critical events have occurred.
Code Examples
See the polymorphic call of TSynchroObject.Acquire in the following examples: