Template Class RWLock
Defined in File rwlock.h
Class Documentation
-
template<MemoryScope scope = MemoryScope::SYSTEM>
class RWLock readers-writer lock
Public Functions
-
inline RWLock()
-
~RWLock() = default
Blocking method to acquire the lock for reading.
Non-blocking method to acquire the lock for reading.
method to release the shared reading lock
-
__host__ __device__ inline void Acquire()
blocking method to acquire the exclusive writing lock
-
__host__ __device__ inline bool TryAcquire()
non-blocking method to acquire the exclusive writing lock
-
__host__ __device__ inline void Release()
method to release the exclusive writing lock
-
inline RWLock()