Located in file: MEL.hpp
MEL::
MutexCreate
(const int rank, const int size, const int root, const Comm &comm)¶Create a MEL::Mutex across a comm world.
rank
- The rank of the calling process
size
- The size of the comm world
root
- The rank of the process who will own the mutex
comm
- The comm world to share the mutex across
MEL::
MutexCreate
(const int root, const Comm &comm)¶Create a MEL::Mutex across a comm world.
root
- The rank of the process who will own the mutex
comm
- The comm world to share the mutex across
MEL::
MutexFree
(Mutex &mutex)¶Free a MEL::Mutex.
mutex
- The mutex to free
MEL::
MutexLock
(Mutex &mutex)¶Get the exclusive lock on a MEL::Mutex.
mutex
- The mutex to lock
MEL::
MutexTest
(const Mutex &mutex)¶Test if the mutex is currently locked.
mutex
- The mutex to lock
MEL::
MutexUnlock
(Mutex &mutex)¶Release the exclusive lock on a MEL::Mutex.
mutex
- The mutex to lock