Qt 4.8
|
#include <qmutex_p.h>
Public Types | |
enum | { MaximumSpinTimeThreshold = 1000000 } |
Public Functions | |
QMutexPrivate (QMutex::RecursionMode mode) | |
bool | wait (int timeout=-1) |
void | wakeUp () |
~QMutexPrivate () | |
Public Variables | |
volatile qint64 | averageWaitTime |
uint | count |
HANDLE | event |
volatile qint64 | maximumSpinTime |
Qt::HANDLE | owner |
Public Variables inherited from QMutexData | |
QAtomicInt | contenders |
const uint | recursive: 1 |
uint | reserved: 31 |
Additional Inherited Members | |
Protected Functions inherited from QMutexData | |
QMutexData (QMutex::RecursionMode mode) | |
~QMutexData () | |
Definition at line 67 of file qmutex_p.h.
anonymous enum |
QMutexPrivate::QMutexPrivate | ( | QMutex::RecursionMode | mode | ) |
Definition at line 77 of file qmutex_unix.cpp.
QMutexPrivate::~QMutexPrivate | ( | ) |
Definition at line 87 of file qmutex_unix.cpp.
bool QMutexPrivate::wait | ( | int | timeout = -1 | ) |
Definition at line 102 of file qmutex_unix.cpp.
Referenced by QMutex::lock(), QMutex::lockInternal(), and QMutex::tryLock().
void QMutexPrivate::wakeUp | ( | ) |
Definition at line 133 of file qmutex_unix.cpp.
Referenced by QMutex::unlock().
volatile qint64 QMutexPrivate::averageWaitTime |
Definition at line 78 of file qmutex_p.h.
Referenced by QMutex::lockInternal().
uint QMutexPrivate::count |
Definition at line 80 of file qmutex_p.h.
Referenced by QMutex::lock(), QMutex::tryLock(), and QMutex::unlock().
HANDLE QMutexPrivate::event |
Definition at line 87 of file qmutex_p.h.
volatile qint64 QMutexPrivate::maximumSpinTime |
Definition at line 77 of file qmutex_p.h.
Referenced by QMutex::lockInternal().
Qt::HANDLE QMutexPrivate::owner |
Definition at line 79 of file qmutex_p.h.
Referenced by QMutex::lock(), QMutex::tryLock(), and QMutex::unlock().