|
Beamlib 3.1.2
This is the Beam C++ class library.
|
Thread read-write lock. More...
#include <BRWLock.h>
Public Member Functions | |
| BRWLock () | |
| BRWLock (const BRWLock &rwlock) | |
| ~BRWLock () | |
| int | rdLock () |
| Set lock, wait if necessary. More... | |
| int | tryRdLock () |
| Test the lock. More... | |
| int | wrLock () |
| Set lock, wait if necessary. More... | |
| int | tryWrLock () |
| Test the lock. More... | |
| int | unlock () |
| Unlock the lock. More... | |
| BRWLock & | operator= (const BRWLock &rwlock) |
Thread read-write lock.
| BRWLock::BRWLock | ( | ) |
| BRWLock::BRWLock | ( | const BRWLock & | rwlock | ) |
| BRWLock::~BRWLock | ( | ) |
| int BRWLock::rdLock | ( | ) |
Set lock, wait if necessary.
| int BRWLock::tryRdLock | ( | ) |
Test the lock.
| int BRWLock::wrLock | ( | ) |
Set lock, wait if necessary.
| int BRWLock::tryWrLock | ( | ) |
Test the lock.
| int BRWLock::unlock | ( | ) |
Unlock the lock.