21 INLINE LightMutexDirect::
30 INLINE LightMutexDirect::
39 INLINE LightMutexDirect::
49 INLINE
void LightMutexDirect::
71 TAU_PROFILE(
"void LightMutexDirect::acquire()",
" ", TAU_USER);
87 TAU_PROFILE(
"void LightMutexDirect::release()",
" ", TAU_USER);
This class implements a lightweight Mutex by making direct calls to the underlying implementation lay...
bool debug_is_locked() const
Returns true if the current thread has locked the LightMutex, false otherwise.
string get_name() const
The lightMutex name is only defined when compiling in DEBUG_THREADS mode.
void clear_name()
The lightMutex name is only defined when compiling in DEBUG_THREADS mode.
void acquire() const
Grabs the lightMutex if it is available.
void release() const
Releases the lightMutex.
void set_name(const string &name)
The lightMutex name is only defined when compiling in DEBUG_THREADS mode.
bool has_name() const
The lightMutex name is only defined when compiling in DEBUG_THREADS mode.