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