libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::Threads::recursive_mutex::scoped_lock Class Reference

#include <threads_none.h>

Public Member Functions

 scoped_lock ()
 
 scoped_lock (recursive_mutex &)
 
void acquire (recursive_mutex &)
 
void release ()
 
 scoped_lock ()
 
 scoped_lock (recursive_mutex &in_rmutex)
 
 ~scoped_lock ()
 
void acquire (recursive_mutex &in_rmutex)
 
void release ()
 

Private Attributes

recursive_mutexrmutex
 

Detailed Description

Definition at line 155 of file threads_none.h.

Constructor & Destructor Documentation

libMesh::Threads::recursive_mutex::scoped_lock::scoped_lock ( )

Definition at line 158 of file threads_none.h.

158 {}
libMesh::Threads::recursive_mutex::scoped_lock::scoped_lock ( recursive_mutex )
explicit

Definition at line 159 of file threads_none.h.

159 {}
libMesh::Threads::recursive_mutex::scoped_lock::scoped_lock ( )

Definition at line 196 of file threads_pthread.h.

const class libmesh_nullptr_t libmesh_nullptr
libMesh::Threads::recursive_mutex::scoped_lock::scoped_lock ( recursive_mutex in_rmutex)
explicit

Definition at line 197 of file threads_pthread.h.

libMesh::Threads::recursive_mutex::scoped_lock::~scoped_lock ( )

Member Function Documentation

void libMesh::Threads::recursive_mutex::scoped_lock::acquire ( recursive_mutex )

Definition at line 160 of file threads_none.h.

160 {}
void libMesh::Threads::recursive_mutex::scoped_lock::acquire ( recursive_mutex in_rmutex)
void libMesh::Threads::recursive_mutex::scoped_lock::release ( )

Definition at line 161 of file threads_none.h.

161 {}
void libMesh::Threads::recursive_mutex::scoped_lock::release ( )

Definition at line 202 of file threads_pthread.h.

References libmesh_nullptr.

202 { if (rmutex) rmutex->unlock(); rmutex = libmesh_nullptr; }
const class libmesh_nullptr_t libmesh_nullptr

Member Data Documentation

recursive_mutex* libMesh::Threads::recursive_mutex::scoped_lock::rmutex
private

Definition at line 205 of file threads_pthread.h.


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