Refactor liburcu to support many flavors per compile unit
[urcu.git] / include / urcu / map / urcu.h
1 /*
2 * urcu-map.h
3 *
4 * Userspace RCU header -- name mapping to allow multiple flavors to be
5 * used in the same executable.
6 *
7 * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
9 *
10 * LGPL-compatible code should include this header with :
11 *
12 * #define _LGPL_SOURCE
13 * #include <urcu.h>
14 *
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
28 *
29 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
30 */
31
32 #ifdef RCU_MEMBARRIER
33 #include <urcu/map/urcu-memb.h>
34 #elif defined(RCU_SIGNAL)
35 #include <urcu/map/urcu-signal.h>
36 #elif defined(RCU_MB)
37 #include <urcu/map/urcu-mb.h>
38 #else
39 #error "Undefined selection"
40 #endif
This page took 0.029059 seconds and 4 git commands to generate.