|
Peano
|
Create a lock around a boolean semaphore region. More...
#include <Lock.h>

Public Member Functions | |
| Lock (tarch::mpi::BooleanSemaphore &semaphore, bool aquireLockImmediately=true) | |
| ~Lock () | |
| void | lock () |
| void | free () |
Private Attributes | |
| BooleanSemaphore & | _semaphore |
| bool | _lockIsAquired |
Create a lock around a boolean semaphore region.
| tarch::mpi::Lock::Lock | ( | tarch::mpi::BooleanSemaphore & | semaphore, |
| bool | aquireLockImmediately = true |
||
| ) |
| tarch::mpi::Lock::~Lock | ( | ) |
| void tarch::mpi::Lock::free | ( | ) |
| void tarch::mpi::Lock::lock | ( | ) |
|
private |