#include <qreadwritelock.h>
Definition at line 58 of file qreadwritelock.h.
Public Types | |
enum | RecursionMode { NonRecursive, Recursive } |
Public Member Functions | |
QReadWriteLock () | |
QReadWriteLock (RecursionMode recursionMode) | |
~QReadWriteLock () | |
void | lockForRead () |
bool | tryLockForRead () |
bool | tryLockForRead (int timeout) |
void | lockForWrite () |
bool | tryLockForWrite () |
bool | tryLockForWrite (int timeout) |
void | unlock () |
Friends | |
class | QWaitCondition |
enum RecursionMode |
Enumerator | |
---|---|
NonRecursive | |
Recursive |
Definition at line 61 of file qreadwritelock.h.
QReadWriteLock | ( | ) |
QReadWriteLock | ( | RecursionMode | recursionMode | ) |
~QReadWriteLock | ( | ) |
void lockForRead | ( | ) |
bool tryLockForRead | ( | ) |
bool tryLockForRead | ( | int | timeout | ) |
void lockForWrite | ( | ) |
bool tryLockForWrite | ( | ) |
bool tryLockForWrite | ( | int | timeout | ) |
void unlock | ( | ) |
|
friend |
Definition at line 81 of file qreadwritelock.h.