Qt 4.8
|
#include <qreadwritelock_p.h>
Public Functions | |
QReadWriteLockPrivate (QReadWriteLock::RecursionMode recursionMode) | |
Public Variables | |
int | accessCount |
QHash< Qt::HANDLE, int > | currentReaders |
Qt::HANDLE | currentWriter |
QMutex | mutex |
QWaitCondition | readerWait |
bool | recursive |
int | waitingReaders |
int | waitingWriters |
QWaitCondition | writerWait |
Definition at line 63 of file qreadwritelock_p.h.
|
inline |
Definition at line 65 of file qreadwritelock_p.h.
int QReadWriteLockPrivate::accessCount |
Definition at line 74 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForRead(), QReadWriteLock::lockForWrite(), QWaitConditionPrivate::post(), QReadWriteLock::tryLockForRead(), QReadWriteLock::tryLockForWrite(), QReadWriteLock::unlock(), and QWaitCondition::wait().
QHash<Qt::HANDLE, int> QReadWriteLockPrivate::currentReaders |
Definition at line 80 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForRead(), QReadWriteLock::tryLockForRead(), and QReadWriteLock::unlock().
Qt::HANDLE QReadWriteLockPrivate::currentWriter |
Definition at line 79 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForWrite(), QReadWriteLock::tryLockForWrite(), and QReadWriteLock::unlock().
QMutex QReadWriteLockPrivate::mutex |
Definition at line 70 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForRead(), QReadWriteLock::lockForWrite(), QReadWriteLock::tryLockForRead(), QReadWriteLock::tryLockForWrite(), and QReadWriteLock::unlock().
QWaitCondition QReadWriteLockPrivate::readerWait |
Definition at line 71 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForRead(), QReadWriteLock::tryLockForRead(), and QReadWriteLock::unlock().
bool QReadWriteLockPrivate::recursive |
Definition at line 78 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForRead(), QReadWriteLock::lockForWrite(), QReadWriteLock::tryLockForRead(), QReadWriteLock::tryLockForWrite(), and QReadWriteLock::unlock().
int QReadWriteLockPrivate::waitingReaders |
Definition at line 75 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForRead(), QReadWriteLock::tryLockForRead(), and QReadWriteLock::unlock().
int QReadWriteLockPrivate::waitingWriters |
Definition at line 76 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForRead(), QReadWriteLock::lockForWrite(), QReadWriteLock::tryLockForRead(), QReadWriteLock::tryLockForWrite(), and QReadWriteLock::unlock().
QWaitCondition QReadWriteLockPrivate::writerWait |
Definition at line 72 of file qreadwritelock_p.h.
Referenced by QReadWriteLock::lockForWrite(), QReadWriteLock::tryLockForWrite(), and QReadWriteLock::unlock().