static void Enter(int &csLock, const int TrueValue = 1);
Enter the critical section.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | csLock | int & | |
| 2 | TrueValue = 1 | const int |
Remarks:
The order in which the threads will pass is not deterministic. The waiting loop is using Sleep(0).
Declared in Dew::Math::TSimpleCriticalSection · Dew.Math/Math387.h · Cross-compiler