Searched defs:rtm_rw_mutex_impl (Results 1 – 1 of 1) sorted by relevance
29 struct rtm_rw_mutex_impl { struct32 static constexpr int retry_threshold_read = 10;33 static constexpr int retry_threshold_write = 10;34 using transaction_result_type = decltype(begin_transaction());37 static void release(d1::rtm_rw_mutex::scoped_lock& s) { in release()66 …c void acquire_writer(d1::rtm_rw_mutex& m, d1::rtm_rw_mutex::scoped_lock& s, bool only_speculate) { in acquire_writer()106 …c void acquire_reader(d1::rtm_rw_mutex& m, d1::rtm_rw_mutex::scoped_lock& s, bool only_speculate) { in acquire_reader()151 static bool upgrade(d1::rtm_rw_mutex::scoped_lock& s) { in upgrade()180 static bool downgrade(d1::rtm_rw_mutex::scoped_lock& s) { in downgrade()202 static bool try_acquire_writer(d1::rtm_rw_mutex& m, d1::rtm_rw_mutex::scoped_lock& s) { in try_acquire_writer()[all …]