Refactor liburcu to support many flavors per compile unit
[urcu.git] / include / urcu / static / urcu.h
CommitLineData
adcfce54
MD
1#ifndef _URCU_STATIC_H
2#define _URCU_STATIC_H
3
4/*
5 * urcu-static.h
6 *
d2d23035 7 * Userspace RCU header.
adcfce54 8 *
a5a9f428
PM
9 * TO BE INCLUDED ONLY IN CODE THAT IS TO BE RECOMPILED ON EACH LIBURCU
10 * RELEASE. See urcu.h for linking dynamically with the userspace rcu library.
adcfce54 11 *
6982d6d7 12 * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
d2d23035 13 * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
adcfce54 14 *
d2d23035
MD
15 * This library is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
19 *
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
24 *
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with this library; if not, write to the Free Software
27 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
adcfce54
MD
28 *
29 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
30 */
31
65f1e634 32/* Default is RCU_MEMBARRIER */
fdf01eed 33#if !defined(RCU_MEMBARRIER) && !defined(RCU_MB) && !defined(RCU_SIGNAL)
65f1e634
MD
34#define RCU_MEMBARRIER
35#endif
36
fdf01eed 37#ifdef RCU_MEMBARRIER
4477a870 38#include <urcu/static/urcu-memb.h>
fdf01eed
MD
39#endif
40
02be5561 41#ifdef RCU_MB
4477a870 42#include <urcu/static/urcu-mb.h>
fdf01eed
MD
43#endif
44
45#ifdef RCU_SIGNAL
4477a870 46#include <urcu/static/urcu-signal.h>
36bc70a8
MD
47#endif
48
adcfce54 49#endif /* _URCU_STATIC_H */
This page took 0.043994 seconds and 4 git commands to generate.