#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 344 of file mpi.h.
◆ ScopedLock()
Constructor. Blocks until it can acquire the lock.
Definition at line 350 of file mpi.h.
◆ ~ScopedLock()
Utilities::MPI::CollectiveMutex::ScopedLock::~ScopedLock |
( |
| ) |
|
|
inline |
Destructor. Releases the lock.
Definition at line 360 of file mpi.h.
◆ mutex
A reference to the mutex.
Definition at line 369 of file mpi.h.
◆ comm
const MPI_Comm Utilities::MPI::CollectiveMutex::ScopedLock::comm |
|
private |
The communicator.
Definition at line 373 of file mpi.h.
The documentation for this class was generated from the following file:
- include/deal.II/base/mpi.h