19#include <tbb/spin_mutex.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
BooleanSemaphore(const BooleanSemaphore &)
You may not copy a semaphore.
friend class RecursiveSemaphore
void leaveCriticalSection()
friend class tarch::mpi::BooleanSemaphore
bool tryEnterCriticalSection()
Create a lock around a boolean semaphore region.
This page describes Peano 4's multithreading namespace.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.