Searched refs:atomic_value (Results 1 - 1 of 1) sorted by relevance
/fuchsia/zircon/system/utest/fbl/ |
H A D | atomic_tests.cpp | 833 fbl::atomic<T> atomic_value; local 836 atomic_value.store(value); 837 ASSERT_EQ(atomic_value.load(), value, "Member load/store busted"); 841 fbl::atomic_store(&atomic_value, value); 842 ASSERT_EQ(atomic_load(&atomic_value), value, "Nonmember load/store busted"); 863 fbl::atomic<T> atomic_value(last_value); 866 ASSERT_EQ(atomic_value.load(), last_value, "Member exchange busted"); 867 ASSERT_EQ(atomic_value.exchange(value), last_value, "Member exchange busted"); 872 atomic_value.store(last_value); 875 ASSERT_EQ(fbl::atomic_load(&atomic_value), last_valu [all...] |
Completed in 30 milliseconds