[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Initializes a Critical Section object.
Source position: winapih.inc line 171
public procedure TWidgetSet.InitializeCriticalSection( |
var CritSection: TCriticalSection |
); virtual; |
CritSection |
|
The critical section object. |
Critical sections are thread synchronization elements, typically used to prevent concurrent access to a shared resource.
Only one thread can own a critical section at the same time, other requests (to enter the same critical section) are delayed until the owner has left the critical section.
The TCriticalSection type is platform specific. It is treated like a Handle.
|
Enters a critical section. |
|
|
Releases a critical section, and allows use by other threads. |
|
|
Deletes an un-owned critical section. |
Version 4.0 | Generated 2025-05-03 | Home |