#include <mutex.h>
Public Member Functions | |
| RWLockHolder (ReadWriteLock *_lock, RWLockHolderType _type) | |
| The constructor. | |
| ~RWLockHolder () | |
| The destructor. | |
| RWLockHolder | ( | ReadWriteLock * | _lock, | |
| RWLockHolderType | _type | |||
| ) |
The constructor.
Locks the specified read/write lock.
| _lock | The read/write lock to be held. | |
| _type | Indicates whether this lock holder should lock for reading or for writing. |
| ~RWLockHolder | ( | ) |
The destructor.
Unlocks the held lock.
1.5.8