Public Member Functions | Data Fields

MutexTryLock Struct Reference

#include <I_Lock.h>

Collaboration diagram for MutexTryLock:
Collaboration graph
[legend]

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< ProxyMutexm
volatile bool lock_acquired

Detailed Description

Definition at line 370 of file I_Lock.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Field Documentation

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().


The documentation for this struct was generated from the following file: