A simple encapsulation of pthread read/write locks. More...
#include <Robots/LoBot/thread/LoRWLock.H>
Public Member Functions | |
RWLock () | |
Default constructor: sets up the pthread read/write lock object. | |
~RWLock () | |
Clean-up. | |
void | begin_read () |
RWLock acquisition and release. | |
void | end_read () |
void | begin_write () |
void | end_write () |
A simple encapsulation of pthread read/write locks.
Definition at line 67 of file LoRWLock.H.
lobot::RWLock::RWLock | ( | ) |
Default constructor: sets up the pthread read/write lock object.
Definition at line 110 of file LoRWLock.C.
lobot::RWLock::~RWLock | ( | ) |
Clean-up.
Definition at line 166 of file LoRWLock.C.
void lobot::RWLock::begin_read | ( | ) |
RWLock acquisition and release.
Definition at line 142 of file LoRWLock.C.
Referenced by lobot::AutoReadLock::AutoReadLock().