uatomic/x86: Remove redundant memory barriers
[urcu.git] / include / urcu / static / urcu.h
... / ...
CommitLineData
1// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2// SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation.
3//
4// SPDX-License-Identifier: LGPL-2.1-or-later
5
6#ifndef _URCU_STATIC_H
7#define _URCU_STATIC_H
8
9/*
10 * Userspace RCU header.
11 *
12 * TO BE INCLUDED ONLY IN CODE THAT IS TO BE RECOMPILED ON EACH LIBURCU
13 * RELEASE. See urcu.h for linking dynamically with the userspace rcu library.
14 *
15 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
16 */
17
18/* Default is RCU_MEMBARRIER */
19#if !defined(RCU_MEMBARRIER) && !defined(RCU_MB)
20#define RCU_MEMBARRIER
21#endif
22
23#ifdef RCU_MEMBARRIER
24#include <urcu/static/urcu-memb.h>
25#endif
26
27#ifdef RCU_MB
28#include <urcu/static/urcu-mb.h>
29#endif
30
31#endif /* _URCU_STATIC_H */
This page took 0.023895 seconds and 5 git commands to generate.