$extrastylesheet
#include <threads.h>
Public Member Functions | |
| BoolAcquire (bool &b) | |
| ~BoolAcquire () | |
Private Attributes | |
| bool & | _b |
We use a class to turn Threads::in_threads on and off, to be exception-safe.
| libMesh::Threads::BoolAcquire::BoolAcquire | ( | bool & | b | ) | [inline, explicit] |
Definition at line 102 of file threads.h.
References _b, and libMesh::libmesh_assert().
: _b(b) { libmesh_assert(!_b); _b = true; }
| libMesh::Threads::BoolAcquire::~BoolAcquire | ( | ) | [inline] |
bool& libMesh::Threads::BoolAcquire::_b [private] |
Definition at line 106 of file threads.h.
Referenced by BoolAcquire(), and ~BoolAcquire().