ReadWriteLock Class Referenceabstract
#include <ReadWriteLock.h>
Inheritance diagram for ReadWriteLock:

Public Member Functions | |
ReadWriteLock () | |
virtual | ~ReadWriteLock () |
Destroy this ReadWriteLock. | |
virtual Lockable & | getReadLock ()=0 |
virtual Lockable & | getWriteLock ()=0 |
Additional Inherited Members | |
![]() | |
NonCopyable () | |
Create a NonCopyable object. | |
~NonCopyable () | |
Destroy a NonCopyable object. | |
Detailed Description
- Date
- <2003-07-16T10:17:31-0400>
- Version
- 2.2.7
A ReadWriteLock provides a set of coordinated Lockable objects that can be used to guard an object; One for read-only access, and another for read-write access.
- See also
- BiasedReadWriteLock
- FairReadWriteLock
Constructor & Destructor Documentation
◆ ReadWriteLock()
|
inline |
Create a ReadWriteLock
- Exceptions
-
Initialization_Exception thrown if resources could not be allocated for this object.
Member Function Documentation
◆ getReadLock()
|
pure virtual |
Get a reference to the read-only Lockable.
Implemented in BiasedReadWriteLock, and FairReadWriteLock.
◆ getWriteLock()
|
pure virtual |
Get a reference to the read-write Lockable.
Implemented in BiasedReadWriteLock, and FairReadWriteLock.
The documentation for this class was generated from the following file:
- ReadWriteLock.h