OEMutex
struct OEMutex
The OEMutex class provides a portable MUTual EXclusion device, that is useful for protecting shared data structures from concurrent modification.
See also
OELock class
OETryMutex class
Constructors
OEMutex()
Default constructor.
Acquire
void Acquire()
Acquires (locks) the OEMutex. If the
OEMutex is unlocked, it is locked by this calls
and becomes owned
by the calling thread. If the OEMutex is already
locked, by this or another thread, OEMutex::Acquire
suspends the calling thread until the OEMutex
is released.
Release
void Release()
Releases (unlocks) the OEMutex. The OEMutex object must have previously been locked by the calling thread.