Searched refs:last_value_read (Results 1 – 1 of 1) sorted by relevance
171 std::atomic<int> last_value_read{-1}; in TEST_F() local172 auto read_task = [&last_value_read] { in TEST_F()173 int last = last_value_read; in TEST_F()188 last_value_read = last; in TEST_F()195 std::thread writer_thread([this, &writer_done, &last_value_read] { in TEST_F()204 i - last_value_read.load(std::memory_order_relaxed) >= kCapacity - 1; in TEST_F()217 EXPECT_EQ(last_value_read, kMaxValue - 1); in TEST_F()