#include <threads_none.h>
Classes | |
class | scoped_lock |
Public Member Functions | |
spin_mutex () | |
void | lock () |
void | unlock () |
spin_mutex () | |
~spin_mutex () | |
void | lock () |
void | unlock () |
spin_mutex () | |
~spin_mutex () | |
void | lock () |
void | unlock () |
spin_mutex () | |
~spin_mutex () | |
void | lock () |
void | unlock () |
Private Attributes | |
os_unfair_lock | ulock |
OSSpinLock | slock |
pthread_spinlock_t | slock |
Spin mutex. Implements mutual exclusion by busy-waiting in user space for the lock to be acquired.
Definition at line 127 of file threads_none.h.
|
inline |
Definition at line 130 of file threads_none.h.
|
inline |
|
inline |
Definition at line 89 of file threads_pthread.h.
|
inline |
Definition at line 116 of file threads_pthread.h.
|
inline |
Definition at line 117 of file threads_pthread.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 131 of file threads_none.h.
Referenced by libMesh::Threads::spin_mutex::scoped_lock::acquire(), and libMesh::Threads::spin_mutex::scoped_lock::scoped_lock().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 132 of file threads_none.h.
Referenced by libMesh::Threads::spin_mutex::scoped_lock::release().
|
inline |
|
private |
Definition at line 138 of file threads_pthread.h.
Referenced by lock(), spin_mutex(), unlock(), and ~spin_mutex().
|
private |
Definition at line 168 of file threads_pthread.h.
|
private |
Definition at line 110 of file threads_pthread.h.
Referenced by lock(), spin_mutex(), and unlock().