#include <RWLockImplPosix.h>
Public Member Functions | |
virtual bool | readLock () |
virtual bool | readLock (const ::icl_core::TimeStamp &timeout) |
virtual bool | readLock (const ::icl_core::TimeSpan &timeout) |
RWLockImplPosix () | |
virtual bool | tryReadLock () |
virtual bool | tryWriteLock () |
virtual void | unlock () |
virtual bool | writeLock () |
virtual bool | writeLock (const ::icl_core::TimeStamp &timeout) |
virtual bool | writeLock (const ::icl_core::TimeSpan &timeout) |
virtual | ~RWLockImplPosix () |
Private Attributes | |
pthread_rwlock_t * | m_rwlock |
Definition at line 24 of file RWLockImplPosix.h.
Definition at line 20 of file RWLockImplPosix.cpp.
icl_core::thread::RWLockImplPosix::~RWLockImplPosix | ( | ) | [virtual] |
Definition at line 27 of file RWLockImplPosix.cpp.
bool icl_core::thread::RWLockImplPosix::readLock | ( | ) | [virtual] |
Implements icl_core::thread::RWLockImpl.
Definition at line 37 of file RWLockImplPosix.cpp.
bool icl_core::thread::RWLockImplPosix::readLock | ( | const ::icl_core::TimeStamp & | timeout | ) | [virtual] |
Definition at line 43 of file RWLockImplPosix.cpp.
bool icl_core::thread::RWLockImplPosix::readLock | ( | const ::icl_core::TimeSpan & | timeout | ) | [virtual] |
Definition at line 62 of file RWLockImplPosix.cpp.
bool icl_core::thread::RWLockImplPosix::tryReadLock | ( | ) | [virtual] |
Implements icl_core::thread::RWLockImpl.
Definition at line 67 of file RWLockImplPosix.cpp.
bool icl_core::thread::RWLockImplPosix::tryWriteLock | ( | ) | [virtual] |
Implements icl_core::thread::RWLockImpl.
Definition at line 103 of file RWLockImplPosix.cpp.
void icl_core::thread::RWLockImplPosix::unlock | ( | ) | [virtual] |
Implements icl_core::thread::RWLockImpl.
Definition at line 109 of file RWLockImplPosix.cpp.
bool icl_core::thread::RWLockImplPosix::writeLock | ( | ) | [virtual] |
Implements icl_core::thread::RWLockImpl.
Definition at line 73 of file RWLockImplPosix.cpp.
bool icl_core::thread::RWLockImplPosix::writeLock | ( | const ::icl_core::TimeStamp & | timeout | ) | [virtual] |
Definition at line 79 of file RWLockImplPosix.cpp.
bool icl_core::thread::RWLockImplPosix::writeLock | ( | const ::icl_core::TimeSpan & | timeout | ) | [virtual] |
Definition at line 98 of file RWLockImplPosix.cpp.
pthread_rwlock_t* icl_core::thread::RWLockImplPosix::m_rwlock [private] |
Definition at line 43 of file RWLockImplPosix.h.