urcu/arch/generic: Use atomic builtins if configured
[urcu.git] / include / urcu / arch / gcc.h
CommitLineData
d3d3857f
MJ
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
9c974100
PM
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_
9c974100
PM
11 */
12
13#include <urcu/compiler.h>
14#include <urcu/config.h>
999991c6 15#include <urcu/syscall-compat.h>
9c974100
PM
16
17#ifdef __cplusplus
18extern "C" {
67ecffc0 19#endif
9c974100
PM
20
21#include <stdlib.h>
22#include <sys/time.h>
23
67ecffc0 24#ifdef __cplusplus
9c974100
PM
25}
26#endif
27
1b9119f8 28#include <urcu/arch/generic.h>
9c974100
PM
29
30#endif /* _URCU_ARCH_GCC_H */
This page took 0.046361 seconds and 4 git commands to generate.