Searched refs:memory_order_consume (Results 1 – 5 of 5) sorted by relevance
37 assert(f.test_and_set(std::memory_order_consume) == 0); in main()38 assert(f.test_and_set(std::memory_order_consume) == 1); in main()79 assert(f.test_and_set(std::memory_order_consume) == 0); in main()80 assert(f.test_and_set(std::memory_order_consume) == 1); in main()
31 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()67 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
48 memory_order_consume = 8 enumerator
24 assert(std::memory_order_consume == 1); in main()
25 memory_order_consume, // load-consume544 memory_order_relaxed, memory_order_consume, memory_order_acquire,577 case memory_order_consume: