TSimpleCriticalSection::Enter Method

static void Enter(int &csLock, const int TrueValue = 1);

Enter the critical section.

#NameTypeDescription
1csLockint &
2TrueValue = 1const 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