#include <LOW_thread_rwlock.h>
Collaboration diagram for LOW_thread_rwlock::rwLockRead:

Public Member Functions | |
| rwLockRead (LOW_thread_rwlock &inRwlock) | |
| Obtain the read lock. | |
| ~rwLockRead () | |
| Release the read lock. | |
Private Attributes | |
| LOW_thread_rwlock & | rwlock |
| Reference to the rwlock the lock is for. | |
The class is intended to be used in a "locking is creation" design pattern. On creation a read lock is optained on the rwlock, and on destruction the rwlock is released.
Definition at line 71 of file LOW_thread_rwlock.h.
|
|
Obtain the read lock. Inlined for performance reasons.
Definition at line 77 of file LOW_thread_rwlock.h. References LOW_thread_rwlock::lockRead(), and rwlock. |
|
|
Release the read lock. Inlined for performance reasons. Definition at line 86 of file LOW_thread_rwlock.h. References rwlock, and LOW_thread_rwlock::unlock(). |
|
|
Reference to the rwlock the lock is for.
Definition at line 92 of file LOW_thread_rwlock.h. Referenced by rwLockRead(), and ~rwLockRead(). |
1.3.2