TSimpleCriticalSection.TryEnter Method

Boolean TryEnter(ref Int32 csLock, Int32 TrueValue)

Enter the critical section.

#NameTypeDescription
1csLockInt32 (ref)output
2TrueValueInt32

Returns: Boolean

Remarks:

The order in which the threads will pass is not deterministic.