#include <BiasedReadWriteLock.h>
Inheritance diagram for BiasedReadWriteLock:

Public Methods | |
| BiasedReadWriteLock () | |
| virtual | ~BiasedReadWriteLock () throw () |
| virtual Lockable & | getReadLock () |
| virtual Lockable & | getWriteLock () |
Protected Methods | |
| void | beforeRead () |
| bool | beforeReadAttempt (unsigned long timeout) |
| void | afterRead () |
| void | beforeWrite () |
| bool | beforeWriteAttempt (unsigned long timeout) |
| void | afterWrite () |
| bool | allowReader () |
| bool | allowWriter () |
Friends | |
| class | ReadLock |
| class | WriteLock |
|
|
Create a fair or somewhat balanced ReadWriteLock |
|
|
Destroy this ReadWriteLock |
|
|
Get a reference to the read lock
Implements ReadWriteLock. |
|
|
Get a reference to the write lock
Implements ReadWriteLock. |
1.2.17