Commit fcc8f480 authored by Robert Bindar's avatar Robert Bindar

Fix build failure on mac due to invalid access on private member from rw_lock

parent 9436c778
......@@ -138,6 +138,7 @@ class ssux_lock_impl final
/** @return whether any writer is waiting */
bool is_waiting() const { return (value() & WRITER_WAITING) != 0; }
bool is_write_locked() const { return rw_lock::is_write_locked(); }
bool is_locked_or_waiting() const { return rw_lock::is_locked_or_waiting(); }
bool rd_lock_try() { uint32_t l; return read_trylock(l); }
bool wr_lock_try() { return write_trylock(); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment