libMesh::Threads::spin_mutex::scoped_lock Class Reference

#include <threads_none.h>

Public Member Functions

 scoped_lock ()
 
 scoped_lock (spin_mutex &)
 
void acquire (spin_mutex &)
 
void release ()
 
 scoped_lock ()
 
 scoped_lock (spin_mutex &in_smutex)
 
 ~scoped_lock ()
 
void acquire (spin_mutex &in_smutex)
 
void release ()
 
 scoped_lock ()
 
 scoped_lock (spin_mutex &in_smutex)
 
 ~scoped_lock ()
 
void acquire (spin_mutex &in_smutex)
 
void release ()
 
 scoped_lock ()
 
 scoped_lock (spin_mutex &in_smutex)
 
 ~scoped_lock ()
 
void acquire (spin_mutex &in_smutex)
 
void release ()
 

Private Attributes

spin_mutexsmutex
 

Detailed Description

Definition at line 134 of file threads_none.h.

Constructor & Destructor Documentation

◆ scoped_lock() [1/8]

libMesh::Threads::spin_mutex::scoped_lock::scoped_lock ( )
inline

Definition at line 137 of file threads_none.h.

137 {}

◆ scoped_lock() [2/8]

libMesh::Threads::spin_mutex::scoped_lock::scoped_lock ( spin_mutex )
inlineexplicit

Definition at line 138 of file threads_none.h.

138 {}

◆ scoped_lock() [3/8]

libMesh::Threads::spin_mutex::scoped_lock::scoped_lock ( )
inline

Definition at line 97 of file threads_pthread.h.

97 : smutex(nullptr) {}

◆ scoped_lock() [4/8]

libMesh::Threads::spin_mutex::scoped_lock::scoped_lock ( spin_mutex in_smutex)
inlineexplicit

Definition at line 98 of file threads_pthread.h.

References libMesh::Threads::spin_mutex::lock(), and smutex.

◆ ~scoped_lock() [1/3]

libMesh::Threads::spin_mutex::scoped_lock::~scoped_lock ( )
inline

Definition at line 100 of file threads_pthread.h.

References release().

◆ scoped_lock() [5/8]

libMesh::Threads::spin_mutex::scoped_lock::scoped_lock ( )
inline

Definition at line 125 of file threads_pthread.h.

125 : smutex(nullptr) {}

◆ scoped_lock() [6/8]

libMesh::Threads::spin_mutex::scoped_lock::scoped_lock ( spin_mutex in_smutex)
inlineexplicit

Definition at line 126 of file threads_pthread.h.

References libMesh::Threads::spin_mutex::lock(), and smutex.

◆ ~scoped_lock() [2/3]

libMesh::Threads::spin_mutex::scoped_lock::~scoped_lock ( )
inline

Definition at line 128 of file threads_pthread.h.

References release().

◆ scoped_lock() [7/8]

libMesh::Threads::spin_mutex::scoped_lock::scoped_lock ( )
inline

Definition at line 155 of file threads_pthread.h.

155 : smutex(nullptr) {}

◆ scoped_lock() [8/8]

libMesh::Threads::spin_mutex::scoped_lock::scoped_lock ( spin_mutex in_smutex)
inlineexplicit

Definition at line 156 of file threads_pthread.h.

References libMesh::Threads::spin_mutex::lock(), and smutex.

◆ ~scoped_lock() [3/3]

libMesh::Threads::spin_mutex::scoped_lock::~scoped_lock ( )
inline

Definition at line 158 of file threads_pthread.h.

References release().

Member Function Documentation

◆ acquire() [1/4]

void libMesh::Threads::spin_mutex::scoped_lock::acquire ( spin_mutex in_smutex)
inline

Definition at line 102 of file threads_pthread.h.

References libMesh::Threads::spin_mutex::lock(), and smutex.

◆ acquire() [2/4]

void libMesh::Threads::spin_mutex::scoped_lock::acquire ( spin_mutex in_smutex)
inline

Definition at line 130 of file threads_pthread.h.

References libMesh::Threads::spin_mutex::lock(), and smutex.

◆ acquire() [3/4]

void libMesh::Threads::spin_mutex::scoped_lock::acquire ( spin_mutex )
inline

Definition at line 139 of file threads_none.h.

139 {}

◆ acquire() [4/4]

void libMesh::Threads::spin_mutex::scoped_lock::acquire ( spin_mutex in_smutex)
inline

Definition at line 160 of file threads_pthread.h.

References libMesh::Threads::spin_mutex::lock(), and smutex.

◆ release() [1/4]

void libMesh::Threads::spin_mutex::scoped_lock::release ( )
inline

◆ release() [2/4]

void libMesh::Threads::spin_mutex::scoped_lock::release ( )
inline

◆ release() [3/4]

void libMesh::Threads::spin_mutex::scoped_lock::release ( )
inline

Definition at line 140 of file threads_none.h.

Referenced by ~scoped_lock().

140 {}

◆ release() [4/4]

void libMesh::Threads::spin_mutex::scoped_lock::release ( )
inline

Member Data Documentation

◆ smutex

spin_mutex * libMesh::Threads::spin_mutex::scoped_lock::smutex
private

Definition at line 106 of file threads_pthread.h.

Referenced by acquire(), release(), and scoped_lock().


The documentation for this class was generated from the following files: