Home
last modified time | relevance | path

Searched refs:atomic_2 (Results 1 – 1 of 1) sorted by relevance

/picolibc-3.5.0-3.4.0/test/
Dtest-atomic.c9 _Atomic uint16_t atomic_2; variable
38 if (atomic_compare_exchange_strong(&atomic_2, &zero_2, 1)) { in main()
39 …printf("atomic_compare_exchange 2 worked, value %" PRIu16 " zero %" PRIu16 "\n", atomic_2, zero_2); in main()
41 old = atomic_exchange_explicit(&atomic_2, 0, memory_order_relaxed); in main()
42 if (atomic_2 == 0 && old == 1) { in main()
44 old, atomic_2); in main()
47 old, atomic_2); in main()
51 printf("atomic_compare_exchange 2 failed, value %" PRIu16 "\n", atomic_2); in main()