summaryrefslogtreecommitdiff
path: root/tests/stdatomic_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-07-21 16:11:30 -0700
committerElliott Hughes <enh@google.com>2020-07-21 16:34:58 -0700
commit68ae6ad12e4f89526638f167c380d0b28b3bdeac (patch)
treee18075751c1f0d08d94d7c6be14e1a18b560b285 /tests/stdatomic_test.cpp
parentc79ea239415963d4a38752d0f3efe50531c8e04f (diff)
Changes for #inclusivefixit.
Test: treehugger Change-Id: I7ff0496c5c2792a41781e74634247f55b0548213
Diffstat (limited to 'tests/stdatomic_test.cpp')
-rw-r--r--tests/stdatomic_test.cpp4
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);