3 #include "libthreads.h"
9 static void a(void *obj)
11 atomic_fetch_add_explicit(&x, 1, memory_order_relaxed);
12 atomic_fetch_add_explicit(&x, 1, memory_order_relaxed);
20 thrd_create(&t1, (thrd_start_t)&a, NULL);
21 thrd_create(&t2, (thrd_start_t)&a, NULL);