13 class BooleanSemaphore;
21#elif defined(SharedTBB)
23#elif defined(SharedOMP)
25#elif defined(SharedSYCL)
27#elif !defined(_TARCH_MULTICORE_BOOLEAN_SEMAPHORE_H_)
28#define _TARCH_MULTICORE_BOOLEAN_SEMAPHORE_H_
Boolean semaphore across MPI ranks.
BooleanSemaphore & operator=(const BooleanSemaphore &)
You may not copy a semaphore.
tarch::multicore::Lock Lock
void enterCriticalSection()
friend class MultiReadSingleWriteSemaphore
friend class RecursiveSemaphore
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.