Searched refs:consumer_idx_ (Results 1 – 1 of 1) sorted by relevance
53 alignas(cache_alignment) std::atomic< std::size_t > consumer_idx_{ 0 }; member in buffered_channel71 std::size_t idx{ consumer_idx_.load( std::memory_order_relaxed) }; in is_empty_()99 idx = consumer_idx_.load( std::memory_order_relaxed); in try_value_pop_()105 … if ( consumer_idx_.compare_exchange_weak( idx, idx + 1, std::memory_order_relaxed) ) { in try_value_pop_()111 idx = consumer_idx_.load( std::memory_order_relaxed); in try_value_pop_()