Public Member Functions | |
bool | hasRun () const |
virtual void | run () |
RWLockTestThread (RWLock *rwlock, bool read_lock) | |
virtual | ~RWLockTestThread () |
Private Attributes | |
bool | m_has_run |
bool | m_read_lock |
RWLock * | m_rwlock |
Definition at line 35 of file ts_RWLock.cpp.
RWLockTestThread::RWLockTestThread | ( | RWLock * | rwlock, |
bool | read_lock | ||
) | [inline] |
Definition at line 38 of file ts_RWLock.cpp.
virtual RWLockTestThread::~RWLockTestThread | ( | ) | [inline, virtual] |
Definition at line 45 of file ts_RWLock.cpp.
bool RWLockTestThread::hasRun | ( | ) | const [inline] |
Definition at line 70 of file ts_RWLock.cpp.
virtual void RWLockTestThread::run | ( | ) | [inline, virtual] |
This is the function running in the thread. This has to be reimplemented from derived classes. If you start the thread by calling Start() this function is executed in the thread. If you call don't want that function to be executed in the thread you could call it directly in your derived class.
Implements icl_core::thread::Thread.
Definition at line 48 of file ts_RWLock.cpp.
bool RWLockTestThread::m_has_run [private] |
Definition at line 73 of file ts_RWLock.cpp.
bool RWLockTestThread::m_read_lock [private] |
Definition at line 74 of file ts_RWLock.cpp.
RWLock* RWLockTestThread::m_rwlock [private] |
Definition at line 75 of file ts_RWLock.cpp.