#include <RWLock.h>
Public Types | |
typedef ScopedRWLock | ScopedLock |
Public Member Functions | |
void | readLock () |
Destroys the Reader/Writer lock. | |
RWLock () | |
bool | tryReadLock () |
bool | tryWriteLock () |
void | unlock () |
void | writeLock () |
~RWLock () | |
Creates the Reader/Writer lock. | |
Private Member Functions | |
RWLock & | operator= (const RWLock &) |
RWLock (const RWLock &) | |
Releases the read or write lock. |
A reader writer lock allows multiple concurrent readers or one exclusive writer.
typedef ScopedRWLock Poco::RWLock::ScopedLock |
Definition at line 50 of file RWLock.cpp.
Creates the Reader/Writer lock.
Definition at line 55 of file RWLock.cpp.
Poco::RWLock::RWLock | ( | const RWLock & | ) | [private] |
Releases the read or write lock.
void Poco::RWLock::readLock | ( | ) | [inline] |
bool Poco::RWLock::tryReadLock | ( | ) | [inline] |
bool Poco::RWLock::tryWriteLock | ( | ) | [inline] |
void Poco::RWLock::unlock | ( | ) | [inline] |
void Poco::RWLock::writeLock | ( | ) | [inline] |