Commit | Line | Data |
---|---|---|
5e77fc1f PM |
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 | ||
5e77fc1f | 32 | #ifdef RCU_MEMBARRIER |
4477a870 | 33 | #include <urcu/map/urcu-memb.h> |
5e77fc1f | 34 | #elif defined(RCU_SIGNAL) |
4477a870 | 35 | #include <urcu/map/urcu-signal.h> |
5e77fc1f | 36 | #elif defined(RCU_MB) |
4477a870 | 37 | #include <urcu/map/urcu-mb.h> |
0376e7b2 | 38 | #else |
0376e7b2 | 39 | #error "Undefined selection" |
5e77fc1f | 40 | #endif |