Qt Utilities 6.14.3
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
Like QMutexLocker, but assumes that the mutex has already been locked. More...
#include <adoptlocker.h>
Public Member Functions | |
AdoptLocker (Mutex &mutex) | |
Constructs the locker for the specified mutex. | |
~AdoptLocker () | |
Unlocks the mutex specified when constructing the instance. | |
Like QMutexLocker, but assumes that the mutex has already been locked.
Definition at line 13 of file adoptlocker.h.
|
inline |
Constructs the locker for the specified mutex.
Definition at line 18 of file adoptlocker.h.
|
inline |
Unlocks the mutex specified when constructing the instance.
Definition at line 26 of file adoptlocker.h.