Home | History | Annotate | Download | only in newlib_tests

Lines Matching defs:atomic

20  * limited check that atomic stores and loads order non-atomic memory
25 * atomic functions. X86 in particular has strong memory ordering by default
27 * (Raspberry Pi 3 Model B) has been observed to fail without the atomic
43 * from removing/reording atomic and seq_n, mark them as volatile.
54 static int atomic;
55 /* Instead of storing seq_n on the stack (probably next to the atomic variable
58 * seq_n will be synchronised between processors as a byproduct of the atomic
68 for (i = tst_atomic_load(&atomic);
70 i = tst_atomic_load(&atomic))
75 tst_atomic_store(i + 1, &atomic);
90 while (tst_atomic_load(&atomic) > 0) {
110 atomic = 0;
125 tst_atomic_store(-1, &atomic);