[Overview][Types][Classes][Index] Reference for unit 'LazCollections' (#lazutils)

GetCachedOrNewEvent

Gets or creates the RTL event for the synchronization object.

Declaration

Source position: lazcollections.pas line 34

function TWaitableSection.GetCachedOrNewEvent(

  AnEventCache: PPRTLEvent

):PRTLEvent;

Arguments

AnEventCache

  

Cached event acquired or updated in the method.

Function result

Pointer to the RTL event acquired or created in the method.

See also

RTLEventCreate

InterlockedExchange


Version 4.0 Generated 2025-05-03 Home