Proxy that locks on creation and unlocks on destruction. Useful for locking a scope. More...
#include <util.h>
Proxy that locks on creation and unlocks on destruction. Useful for locking a scope.
Public Member Functions | |
Proxy (LockMPI3 &) | |
Proxy ()=delete | |
~Proxy () | |
Public Attributes | |
LockMPI3 & | m_lock |
bool | m_deleted = false |
whether the lock was already deleted More... | |
|
explicit |
|
delete |
molpro::linalg::array::util::LockMPI3::Proxy::~Proxy | ( | ) |
bool molpro::linalg::array::util::LockMPI3::Proxy::m_deleted = false |
whether the lock was already deleted
LockMPI3& molpro::linalg::array::util::LockMPI3::Proxy::m_lock |