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