#include <threads_none.h>
Classes | |
class | scoped_lock |
Public Member Functions | |
recursive_mutex () | |
recursive_mutex () | |
~recursive_mutex () | |
void | lock () |
void | unlock () |
Private Attributes | |
pthread_mutex_t | mutex |
pthread_mutexattr_t | attr |
Recursive mutex. Implements mutual exclusion by busy-waiting in user space for the lock to be acquired.
Definition at line 150 of file threads_none.h.
|
inline |
Definition at line 153 of file threads_none.h.
|
inline |
Definition at line 182 of file threads_pthread.h.
|
inline |
|
inline |
Definition at line 190 of file threads_pthread.h.
References mutex.
Referenced by libMesh::Threads::recursive_mutex::scoped_lock::acquire(), and libMesh::Threads::recursive_mutex::scoped_lock::scoped_lock().
|
inline |
Definition at line 191 of file threads_pthread.h.
References mutex.
Referenced by libMesh::Threads::recursive_mutex::scoped_lock::release().
|
private |
Definition at line 210 of file threads_pthread.h.
Referenced by recursive_mutex().
|
private |
Definition at line 209 of file threads_pthread.h.
Referenced by lock(), recursive_mutex(), unlock(), and ~recursive_mutex().