Public Member Functions | |
| void | readLock () |
| void | readUnlock () |
| ReadWriteLock (int maxReaders) | |
| void | writeLock () |
| void | writeUnlock () |
| ~ReadWriteLock () | |
Private Attributes | |
| int | maxReaders |
| Semaphore | semaphore |
|
|
Initialize the read write lock.
|
|
|
Free the used resources. |
|
|
Reader access. |
|
|
Reader terminate access. |
|
|
Writer access. |
|
|
Writer terminate access. |
|
|
|
|
|
|
1.3.9.1