API:System.SyncObjs.TConditionVariableCS
Delphi
TConditionVariableCS = class(TSynchroObject)
C++
class PASCALIMPLEMENTATION TConditionVariableCS : 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.
System.SyncObjs.TConditionVariableCS inherits from System.SyncObjs.TSynchroObject. All content below this line refers to System.SyncObjs.TSynchroObject.
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: