System.SyncObjs.TCriticalSection.Create
Delphi
constructor Create;
C++
__fastcall TCriticalSection(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TCriticalSection |
Description
Creates an instance of TCriticalSection.
Call Create to create and initialize an instance of TCriticalSection. A TCriticalSection object can be created for a single object that contains thread-sensitive code, or as a global object to be shared by several threads.