Lines Matching refs:my_ref_count

36     : my_ref_count(1), my_list(nullptr), my_next(nullptr), my_prev(nullptr), my_observer(&tso)  in observer_proxy()
44 __TBB_ASSERT( !my_ref_count, "Attempt to destroy proxy still in use" ); in ~observer_proxy()
45 poison_value(my_ref_count); in ~observer_proxy()
69 __TBB_ASSERT(is_alive(p->my_ref_count), "Observer's proxy died prematurely"); in clear()
70 …__TBB_ASSERT(p->my_ref_count.load(std::memory_order_relaxed) == 1, "Reference for observer is miss… in clear()
73 --p->my_ref_count; in clear()
123 std::uintptr_t r = p->my_ref_count.load(std::memory_order_acquire); in remove_ref()
126 if (p->my_ref_count.compare_exchange_strong(r, r - 1)) { in remove_ref()
135 r = --p->my_ref_count; in remove_ref()
140 __TBB_ASSERT(r || !p->my_ref_count, nullptr); in remove_ref()
166 …__TBB_ASSERT(int(p->my_ref_count.load(std::memory_order_relaxed)) >= 1 + (p->my_observer ? 1 : 0),… in do_notify_entry_observers()
169 … __TBB_ASSERT(int(p->my_ref_count.load(std::memory_order_relaxed)), nullptr); in do_notify_entry_observers()
170 ++p->my_ref_count; in do_notify_entry_observers()
188 ++p->my_ref_count; in do_notify_entry_observers()
200 __TBB_ASSERT(p->my_ref_count.load(std::memory_order_relaxed), nullptr); in do_notify_entry_observers()
244 ++p->my_ref_count; in do_notify_exit_observers()
254 __TBB_ASSERT(p->my_ref_count || p == last, nullptr); in do_notify_exit_observers()
298 …__TBB_ASSERT( is_alive(proxy->my_ref_count.load(std::memory_order_relaxed)), "Observer's proxy die… in observe()
299 …__TBB_ASSERT( proxy->my_ref_count.load(std::memory_order_relaxed) >= 1, "reference for observer mi… in observe()
306 if( !--proxy->my_ref_count ) {// nobody can increase it under exclusive lock in observe()
308 __TBB_ASSERT( !proxy->my_ref_count, nullptr); in observe()