We use a class to turn Threads::in_threads on and off, to be exception-safe.
More...
#include <threads.h>
We use a class to turn Threads::in_threads on and off, to be exception-safe.
Definition at line 53 of file threads.h.
◆ BoolAcquire()
libMesh::Threads::BoolAcquire::BoolAcquire |
( |
bool & |
b | ) |
|
|
inlineexplicit |
◆ ~BoolAcquire()
libMesh::Threads::BoolAcquire::~BoolAcquire |
( |
| ) |
|
|
inline |
Definition at line 59 of file threads.h.
References _b.
59 { libmesh_exceptionless_assert(
_b);
_b =
false; }
◆ _b
bool& libMesh::Threads::BoolAcquire::_b |
|
private |
The documentation for this class was generated from the following file: