4#if !defined(_TARCH_MULTICORE_CPP_RECURSIVE_SEMAPHORE_H_) && defined(SharedCPP)
5#define _TARCH_MULTICORE_CPP_RECURSIVE_SEMAPHORE_H_
15 class RecursiveSemaphore;
32 std::recursive_mutex
_mutex;
Create a lock around a boolean semaphore region.
bool tryEnterCriticalSection()
std::recursive_mutex _mutex
void enterCriticalSection()
tarch::multicore::RecursiveLock Lock
void leaveCriticalSection()
RecursiveSemaphore & operator=(const RecursiveSemaphore &)
You may not copy a semaphore.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.