#include <I_Lock.h>
Public Member Functions | |
MutexTryLock (ProxyMutex *am, EThread *t) | |
MutexTryLock (ProxyMutex *am, EThread *t, int sp) | |
~MutexTryLock () | |
void | release () |
int | operator! () const |
operator bool () const | |
Data Fields | |
Ptr< ProxyMutex > | m |
volatile bool | lock_acquired |
Definition at line 370 of file I_Lock.h.
MutexTryLock::MutexTryLock | ( | ProxyMutex * | am, | |
EThread * | t | |||
) | [inline] |
Definition at line 375 of file I_Lock.h.
References ts::msg::DEBUG, lock_acquired, m, and Mutex_trylock().
MutexTryLock::MutexTryLock | ( | ProxyMutex * | am, | |
EThread * | t, | |||
int | sp | |||
) | [inline] |
Definition at line 390 of file I_Lock.h.
References ts::msg::DEBUG, lock_acquired, m, and Mutex_trylock_spin().
MutexTryLock::~MutexTryLock | ( | ) | [inline] |
Definition at line 405 of file I_Lock.h.
References m, Ptr< T >::m_ptr, Mutex_unlock(), and ProxyMutex::thread_holding.
MutexTryLock::operator bool | ( | ) | const [inline] |
Definition at line 421 of file I_Lock.h.
References lock_acquired.
int MutexTryLock::operator! | ( | ) | const [inline] |
Definition at line 420 of file I_Lock.h.
References lock_acquired.
void MutexTryLock::release | ( | ) | [inline] |
Definition at line 411 of file I_Lock.h.
References Ptr< T >::clear(), lock_acquired, m, Ptr< T >::m_ptr, Mutex_unlock(), and ProxyMutex::thread_holding.
volatile bool MutexTryLock::lock_acquired |
Definition at line 373 of file I_Lock.h.
Referenced by MutexTryLock(), operator bool(), operator!(), and release().
Definition at line 372 of file I_Lock.h.
Referenced by MutexTryLock(), release(), and ~MutexTryLock().