function TryEnter(var csLock: Integer; const TrueValue: Integer): Boolean;
Enter the critical section.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | csLock | Integer | |
| 2 | TrueValue | Integer |
Returns: Boolean
Remarks:
The order in which the threads will pass is not deterministic.