42 #ifndef QORDEREDMUTEXLOCKER_P_H 43 #define QORDEREDMUTEXLOCKER_P_H 56 #include <QtCore/qmutex.h> 68 :
mtx1((m1 == m2) ? m1 : (m1 < m2 ? m1 : m2)),
69 mtx2((m1 == m2) ? 0 : (m1 < m2 ? m2 : m1)),
#define QT_END_NAMESPACE
This macro expands to.
void lock()
Locks the mutex.
The QMutex class provides access serialization between threads.
static bool relock(QMutex *mtx1, QMutex *mtx2)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void unlock()
Unlocks the mutex.
QOrderedMutexLocker(QMutex *m1, QMutex *m2)