DoneCriticalSection
Clean up a critical section.
Declaration
Source position: threadh.inc line 169
procedure DoneCriticalSection(var cs: TRTLCRITICALSECTION);
Description
DoneCriticalsection cleans up the critical section CS. After a call to DoneCriticalsection, the critical section can no longer be used with EnterCriticalsection or LeaveCriticalsection , unless it is again initialized with InitCriticalSection
See also
Name | Description |
---|---|
EnterCriticalsection | Enter a critical section |
InitCriticalsection | Initialize a critical section |
LeaveCriticalsection | Leave a critical section |