Public Member Functions | |
bool | hasRun () const |
MutexTestThread (Mutex *mutex) | |
virtual void | run () |
virtual | ~MutexTestThread () |
Private Attributes | |
bool | m_has_run |
Mutex * | m_mutex |
Definition at line 34 of file ts_Mutex.cpp.
MutexTestThread::MutexTestThread | ( | Mutex * | mutex | ) | [inline] |
Definition at line 37 of file ts_Mutex.cpp.
virtual MutexTestThread::~MutexTestThread | ( | ) | [inline, virtual] |
Definition at line 44 of file ts_Mutex.cpp.
bool MutexTestThread::hasRun | ( | ) | const [inline] |
Definition at line 57 of file ts_Mutex.cpp.
virtual void MutexTestThread::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_Mutex.cpp.
bool MutexTestThread::m_has_run [private] |
Definition at line 60 of file ts_Mutex.cpp.
Mutex* MutexTestThread::m_mutex [private] |
Definition at line 61 of file ts_Mutex.cpp.