This is a helper class for automatic locks, to simplify requesting a RTLockMtx and to not forget releasing it. To request a RTLockMtx, simply create an instance of RTLock on the stack and pass the mutex to it:
You can also explicitly release the mutex by calling RTLock::release(). This might be helpful if the lock doesn't go out of scope early enough for your mutex to be released.
Public Member Functions
|RTLock (RTLockMtx &aMtx)|