LeaveCriticalSection
Leave a critical section
Declaration
Source position: threadh.inc line 171
procedure LeaveCriticalSection(var cs: TRTLCRITICALSECTION);
Description
LeaveCriticalSection signals that the current thread is exiting the critical section CS it has entered with EnterCriticalSection .
The critical section must have been initialized with InitCriticalSection prior to a call to EnterCriticalsection and LeaveCriticalSection.
See also
Name | Description |
---|---|
DoneCriticalsection | Clean up a critical section. |
EnterCriticalsection | Enter a critical section |
InitCriticalsection | Initialize a critical section |