QReadWriteLock Class Reference

QReadWriteLock Class Reference

#include <qreadwritelock.h>

Class Description

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
 

Member Enumeration Documentation

Enumerator
NonRecursive 
Recursive 

Definition at line 61 of file qreadwritelock.h.

Constructor & Destructor Documentation

QReadWriteLock ( RecursionMode  recursionMode)

Member Function Documentation

void lockForRead ( )
bool tryLockForRead ( )
bool tryLockForRead ( int  timeout)
void lockForWrite ( )
bool tryLockForWrite ( )
bool tryLockForWrite ( int  timeout)
void unlock ( )

Friends And Related Function Documentation

friend class QWaitCondition
friend

Definition at line 81 of file qreadwritelock.h.


The documentation for this class was generated from the following file: