8 class MultiReadSingleWriteSemaphore;
9 class MultiReadSingleWriteLock;
25 static constexpr bool Read =
true;
26 static constexpr bool Write =
false;
Create a lock around a boolean semaphore region.
~MultiReadSingleWriteLock()
static constexpr bool Write
static constexpr bool Read
MultiReadSingleWriteLock(tarch::multicore::MultiReadSingleWriteSemaphore &semaphore, bool isReadLock, bool aquireLockImmediately=true)
Construct lock.
MultiReadSingleWriteSemaphore & _semaphore
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.