#include <FairRWLock.h>
Inheritance diagram for ZThread::FairRWLock::
Public Methods | |
FairRWLock () throw (Synchronization_Exception) | |
virtual | ~FairRWLock () throw () |
virtual bool | allowReader () |
|
Create a fair or somewhat balanced RWLock |
|
Destroy this RWLock |
|
Use the internal fairness counter to try and keep a balance between the number of readers and the number of writers allowed access to the lock. Reimplemented from ZThread::RWLock. |