1 /*===-- atomic_signal_fence.c -----------------------------------------------===
3 * The LLVM Compiler Infrastructure
5 * This file is dual licensed under the MIT and the University of Illinois Open
6 * Source Licenses. See LICENSE.TXT for details.
8 *===------------------------------------------------------------------------===
10 * This file implements atomic_signal_fence from C11's stdatomic.h.
12 *===------------------------------------------------------------------------===
15 #include <stdatomic.h>
16 #undef atomic_signal_fence
17 void atomic_signal_fence(memory_order order) {
18 __c11_atomic_signal_fence(order);