12 class BooleanSemaphore;
19#include <tbb/spin_mutex.h>
Boolean semaphore across MPI ranks.
BooleanSemaphore & operator=(const BooleanSemaphore &)
You may not copy a semaphore.
void enterCriticalSection()
BooleanSemaphore(const BooleanSemaphore &)
You may not copy a semaphore.
void leaveCriticalSection()
friend class tarch::mpi::BooleanSemaphore
bool tryEnterCriticalSection()
Create a lock around a boolean semaphore region.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.