Object lifetime scoped mutex object or interface lock with unlock.
More...
#include <mutex.hxx>
template<class T>
class osl::ClearableGuard< T >
Object lifetime scoped mutex object or interface lock with unlock.
Use this if you can't use scoped code blocks and Guard.
- See also
- ClearableMutexGuard, Guard
◆ ClearableGuard() [1/2]
Acquires the object specified as parameter.
◆ ClearableGuard() [2/2]
Acquires the object specified as parameter.
◆ ~ClearableGuard()
Releases the mutex or interface if not already released by clear().
◆ clear()
Releases the mutex or interface.
◆ pT
The documentation for this class was generated from the following file: