QMutexLocker Class Reference
#include <qmutex.h>
Definition at line 101 of file qmutex.h.
Definition at line 104 of file qmutex.h.
106 Q_ASSERT_X((reinterpret_cast<quintptr>(m) & quintptr(1u)) == quintptr(0),
107 "QMutexLocker",
"QMutex pointer is misaligned");
110 val =
reinterpret_cast<quintptr
>(m) | quintptr(1u);
Definition at line 117 of file qmutex.h.
119 if ((val & quintptr(1u)) == quintptr(1u)) {
120 val &= ~quintptr(1u);
Definition at line 125 of file qmutex.h.
128 if ((val & quintptr(1u)) == quintptr(0u)) {
Definition at line 140 of file qmutex.h.
142 return reinterpret_cast<QMutex *
>(val & ~quintptr(1u));
The documentation for this class was generated from the following file: