TFairSemaphoreSection::Leave Method

Overload List

#SignatureDescription
1void Leave();Leave the critical section.
2void Leave(const int SharedResourceIndex);Leave the critical section.

Overload 1: void Leave();

Leave the critical section.

Remarks:

Call "Leave" before calling "Enter" on the same critical section by the same thread again.

Declared in Dew::Math::TFairSemaphoreSection · Dew.Math/Math387.h · Cross-compiler

Overload 2: void Leave(const int SharedResourceIndex);

Leave the critical section.

#NameTypeDescription
1SharedResourceIndexconst int
Remarks:

The SharedResourceIndex parameter must be the same what was returned by the Enter method when called by the same thread. This is the index of the shared resource to be released.

Call "Leave" before calling "Enter" on the same critical section by the same thread again.

Declared in Dew::Math::TFairSemaphoreSection · Dew.Math/Math387.h · Cross-compiler