urcu/arch/generic: Use atomic builtins if configured
[urcu.git] / include / urcu / arch / gcc.h
1 // SPDX-FileCopyrightText: 2010 Paul E. McKenney, IBM Corporation.
2 // SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 //
4 // SPDX-License-Identifier: LGPL-2.1-or-later
5
6 #ifndef _URCU_ARCH_GCC_H
7 #define _URCU_ARCH_GCC_H
8
9 /*
10 * arch_gcc.h: trivial definitions for architectures using gcc __sync_
11 */
12
13 #include <urcu/compiler.h>
14 #include <urcu/config.h>
15 #include <urcu/syscall-compat.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 #include <stdlib.h>
22 #include <sys/time.h>
23
24 #ifdef __cplusplus
25 }
26 #endif
27
28 #include <urcu/arch/generic.h>
29
30 #endif /* _URCU_ARCH_GCC_H */
This page took 0.029198 seconds and 4 git commands to generate.