OELock

class OELock

This class can be used to ensure an OEMutex object is properly released when this object falls out of scope.

See also

Constructors

OELock(OEMutex &mutex)

This constructor calls OEMutex::Acquire. The destructor of this class will be responsible for calling OEMutex::Release.