#include <thread.h>
Public Member Functions | |
virtual | ~cThreadLockRw () |
Destructor. | |
virtual void | ReadLock () |
Set Readlock. | |
virtual void | ReadUnlock () |
Unset Readlock. | |
virtual bool | TryReadLock () |
Is read lock possible. | |
virtual void | WriteLock () |
Set WriteLock. | |
virtual void | WriteUnlock () |
Unset WriteLock. | |
virtual bool | TryWriteLock () |
Test if WriteLock is possible. | |
bool | CheckLock () |
Check Write lock. | |
Protected Attributes | |
pthread_rwlock_t | m_rwlock |
holding the read/write lock |
|
Check Write lock.
|
|
Is read lock possible.
|
|
Test if WriteLock is possible.
|