Lines Matching refs:d1
37 static void release(d1::rtm_mutex::scoped_lock& s) { in release()
39 case d1::rtm_mutex::rtm_state::rtm_transacting: in release()
44 case d1::rtm_mutex::rtm_state::rtm_real: in release()
48 case d1::rtm_mutex::rtm_state::rtm_none: in release()
54 s.m_transaction_state = d1::rtm_mutex::rtm_state::rtm_none; in release()
58 static void acquire(d1::rtm_mutex& m, d1::rtm_mutex::scoped_lock& s, bool only_speculate) { in acquire()
59 …__TBB_ASSERT(s.m_transaction_state == d1::rtm_mutex::rtm_state::rtm_none, "scoped_lock already in … in acquire()
75 s.m_transaction_state = d1::rtm_mutex::rtm_state::rtm_transacting; in acquire()
88 s.m_transaction_state = d1::rtm_mutex::rtm_state::rtm_real; in acquire()
92 static bool try_acquire(d1::rtm_mutex& m, d1::rtm_mutex::scoped_lock& s) { in try_acquire()
94 if (s.m_transaction_state == d1::rtm_mutex::rtm_state::rtm_transacting) { in try_acquire()
97 __TBB_ASSERT(s.m_transaction_state == d1::rtm_mutex::rtm_state::rtm_none, nullptr); in try_acquire()
101 s.m_transaction_state = d1::rtm_mutex::rtm_state::rtm_real; in try_acquire()
108 void __TBB_EXPORTED_FUNC acquire(d1::rtm_mutex& m, d1::rtm_mutex::scoped_lock& s, bool only_specula… in acquire()
111 bool __TBB_EXPORTED_FUNC try_acquire(d1::rtm_mutex& m, d1::rtm_mutex::scoped_lock& s) { in try_acquire()
114 void __TBB_EXPORTED_FUNC release(d1::rtm_mutex::scoped_lock& s) { in release()