49 INLINE
void MutexDirect::
71 TAU_PROFILE(
"void MutexDirect::acquire()",
" ", TAU_USER);
84 TAU_PROFILE(
"void MutexDirect::acquire(bool)",
" ", TAU_USER);
100 TAU_PROFILE(
"void MutexDirect::release()",
" ", TAU_USER);
void acquire() const
Grabs the mutex if it is available.
bool try_acquire() const
Returns immediately, with a true value indicating the mutex has been acquired, and false indicating i...
bool debug_is_locked() const
Returns true if the current thread has locked the Mutex, false otherwise.
string get_name() const
The mutex name is only defined when compiling in DEBUG_THREADS mode.
void set_name(const string &name)
The mutex name is only defined when compiling in DEBUG_THREADS mode.
bool has_name() const
The mutex name is only defined when compiling in DEBUG_THREADS mode.
void release() const
Releases the mutex.
void clear_name()
The mutex name is only defined when compiling in DEBUG_THREADS mode.
This class implements a standard mutex by making direct calls to the underlying implementation layer...