TwclCriticalSection Class
The class represents a creitical section synchronization primitive.
type TwclCriticalSection = class(TwclSyncObject) end;
The TwclCriticalSection type exposes the following members.
Show:
| Name | Description | |
|---|---|---|
![]() | Create | Creates and initializes a critical section object. (Overrides TwclSyncObject.Create.) |
![]() | Destroy | Destroys the critical section object and releases all allocated resources. |
A critical section object provides synchronization similar to that provided by a mutex object, except that a critical section can be used only by the threads of a single process. Critical section objects cannot be shared across processes.
