Sign in Join
FPDoc Onlineexperiment

TWaitableSection.EnterOrWait function

Member of TWaitableSectionpublicIn unit LazCollections

Enters the protected section, or waits until it is available.

Declaration

pascal
function EnterOrWait(AnEventCache: PPRTLEvent=Nil): Boolean

Arguments

AnEventCache

Cached RTL event set and monitored in the method.

Function result

True if the protected section has not been entered.

Description

Nothing more than the line above yet.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.