Searched refs:atomic_exchange (Results 1 – 2 of 2) sorted by relevance
100 TEST(stdatomic, atomic_exchange) { in TEST() argument103 ASSERT_EQ(123, atomic_exchange(&i, 456)); in TEST()
67 using std::atomic_exchange;482 #define atomic_exchange(object, desired) \ macro