Searched refs:memory_order_acquire (Results 1 – 8 of 8) sorted by relevance
43 assert(f.test_and_set(std::memory_order_acquire) == 0); in main()44 assert(f.test_and_set(std::memory_order_acquire) == 1); in main()85 assert(f.test_and_set(std::memory_order_acquire) == 0); in main()86 assert(f.test_and_set(std::memory_order_acquire) == 1); in main()
37 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acquire) == 0); in main()73 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acquire) == 0); in main()
44 memory_order_acquire = 1, enumerator
25 assert(std::memory_order_acquire == 2); in main()
72 assert(obj.load(std::memory_order_acquire) == true); in main()127 assert(obj.load(std::memory_order_acquire) == true); in main()182 assert(obj.load(std::memory_order_acquire) == true); in main()
90 assert(obj.load(std::memory_order_acquire) == T(1)); in do_test()
107 assert(obj.load(std::memory_order_acquire) == T(1)); in do_test()
26 memory_order_acquire, // load-acquire544 memory_order_relaxed, memory_order_consume, memory_order_acquire,579 case memory_order_acquire: