Defined in File rw_spinlock.hpp
RAII guard that uses ::async::rw_spinlock to lock for read-only.
Read-only operations can happen simultaneously without waiting for each other. Read-only operations will only wait for Read-Write operations to be finished. legion::core::async::rw_spinlock
readonly_guard(const rw_spinlock &lock, wait_priority priority = wait_priority::real_time)¶
Creates readonly guard and locks for Read-only.
RAII style unlocks lock from Read-only.