1 2 3 4 5 6 7
#include <stdatomic.h> void atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order) { (void)order; *object = 0; }