[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Initialize a critical section
Source position: threadh.inc line 135
procedure InitCriticalSection( |
var cs: TRTLCriticalSection |
); |
InitCriticalSectioninitializes a critical section CSfor use. Before using a critical section with EnterCriticalsectionor LeaveCriticalsectionthe critical section should be initialized with InitCriticalSection.
When a critical section is no longer used, it should be disposed of with DoneCriticalsection
|
Clean up a critical section. |
|
|
Enter a critical section |
|
|
Leave a critical section |