unlock

This method unlocks the mutex of the OMProtected object.

Visibility
Public
Signature
inline void unlock() const 
Notes

The same thread can nest lock and free calls of the same mutex without blocking itself indefinitely. This means that OMOSMutex can implement a recursive mutex (that is, the same thread can lock twice and free twice, but only the outer lock and free count).


Feedback