#include <deal.II/base/mpi.h>
This helper class provides a scoped lock for the CollectiveMutex.
See the class documentation of CollectiveMutex for details.
Definition at line 339 of file mpi.h.
◆ ScopedLock()
Constructor. Blocks until it can acquire the lock.
Definition at line 345 of file mpi.h.
◆ ~ScopedLock()
Utilities::MPI::CollectiveMutex::ScopedLock::~ScopedLock |
( |
| ) |
|
|
inline |
Destructor. Releases the lock.
Definition at line 355 of file mpi.h.
◆ mutex
A reference to the mutex.
Definition at line 364 of file mpi.h.
◆ comm
const MPI_Comm Utilities::MPI::CollectiveMutex::ScopedLock::comm |
|
private |
The communicator.
Definition at line 368 of file mpi.h.
The documentation for this class was generated from the following file:
- include/deal.II/base/mpi.h