1 #ifndef THEADING_UTILS_ADOPTLOCKER_H 2 #define THEADING_UTILS_ADOPTLOCKER_H 6 QT_FORWARD_DECLARE_CLASS(QMutex)
36 #endif // THEADING_UTILS_ADOPTLOCKER_H
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.