diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-07-23 02:11:05 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-07-23 02:11:05 +0000 |
commit | dd534e700dfafab38f04cf92c9bd824f113cf4bd (patch) | |
tree | e9a2fedf55835052b36beaf2fc40a98d2eccc8a5 /tests/stdatomic_test.cpp | |
parent | 26b816e3ddc4127b2d9e9b282982fa36941246f5 (diff) | |
parent | 708013e81c289b059399502dad55d534b150d742 (diff) |
Snap for 6701932 from 708013e81c289b059399502dad55d534b150d742 to sc-release
Change-Id: I31f961d20b2c644cfe88d8bb0c946524e312b55c
Diffstat (limited to 'tests/stdatomic_test.cpp')
-rw-r--r-- | tests/stdatomic_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdatomic_test.cpp b/tests/stdatomic_test.cpp index 11d41b4a4..7b98df24b 100644 --- a/tests/stdatomic_test.cpp +++ b/tests/stdatomic_test.cpp @@ -192,7 +192,7 @@ struct three_atomics { atomic_uint_least32_t z; }; -// Very simple acquire/release memory ordering sanity check. +// Very simple acquire/release memory ordering smoke test. static void* writer(void* arg) { three_atomics* a = reinterpret_cast<three_atomics*>(arg); for (uint_least32_t i = 0; i <= BIG; i+=2) { @@ -239,7 +239,7 @@ static void* reader(void* arg) { } TEST(stdatomic, ordering) { - // Run a memory ordering sanity test. + // Run a memory ordering smoke test. void* result; three_atomics a; atomic_init(&a.x, 0ul); |