| [Overview][Types][Classes][Index] |
Enters the protected section, or waits until it is available.
Source position: lazcollections.pas line 36
function TWaitableSection.EnterOrWait( |
AnEventCache: PPRTLEvent = Nil |
):Boolean; |
AnEventCache |
|
Cached RTL event set and monitored in the method. |
True if the protected section has not been entered.
|
Gets or creates the RTL event for the synchronization object. |
|
InterlockedCompareExchange |
||
RTLEventSetEvent |
||
RTLEventWaitFor |