We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9436c77 commit fcc8f48Copy full SHA for fcc8f48
storage/innobase/include/srw_lock.h
@@ -138,6 +138,7 @@ class ssux_lock_impl final
138
/** @return whether any writer is waiting */
139
bool is_waiting() const { return (value() & WRITER_WAITING) != 0; }
140
bool is_write_locked() const { return rw_lock::is_write_locked(); }
141
+ bool is_locked_or_waiting() const { return rw_lock::is_locked_or_waiting(); }
142
143
bool rd_lock_try() { uint32_t l; return read_trylock(l); }
144
bool wr_lock_try() { return write_trylock(); }
0 commit comments