[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)


Try entering a critical section


Source position: threadh.inc line 164

function TryEnterCriticalsection(

  var cs: TRTLCriticalSection



TryEnterCriticalsection attempts to enter critical section cs. It returns at once. The return value is zero if another thread owns the critical section, or nonzero if the current thread already owns or succesfully obtained the critical section.

Documentation generated on: Mar 17 2017