5#elif defined(SharedTBB)
7#elif defined(SharedOMP)
9#elif defined(SharedSYCL)
11#elif !defined(_TARCH_MULTICORE_RECURSIVE_SEMAPHORE_H_)
12#define _TARCH_MULTICORE_RECURSIVE_SEMAPHORE_H_
Create a lock around a boolean semaphore region.
bool tryEnterCriticalSection()
void enterCriticalSection()
tarch::multicore::RecursiveLock Lock
void leaveCriticalSection()
RecursiveSemaphore(const RecursiveSemaphore &)
You may not copy a semaphore.
friend class tarch::multicore::RecursiveLock
RecursiveSemaphore & operator=(const RecursiveSemaphore &)
You may not copy a semaphore.
This page describes Peano 4's multithreading namespace.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.