TFifoCriticalSection.TryEnter Method

Boolean TryEnter

Tries to enter without locking.

Returns: Boolean

Remarks:

Checks, if the critical sections thread waiting queue is empty and enters immediately.

Important: Always need to call "Leave" before calling "Enter" or trying to enter on the same critical section by the same thread again.