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