Rename `urcu_assert()` to `urcu_assert_debug()`
[urcu.git] / include / urcu / static / urcu.h
1 #ifndef _URCU_STATIC_H
2 #define _URCU_STATIC_H
3
4 /*
5 * urcu-static.h
6 *
7 * Userspace RCU header.
8 *
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.
11 *
12 * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
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 /* Default is RCU_MEMBARRIER */
33 #if !defined(RCU_MEMBARRIER) && !defined(RCU_MB) && !defined(RCU_SIGNAL)
34 #define RCU_MEMBARRIER
35 #endif
36
37 #ifdef RCU_MEMBARRIER
38 #include <urcu/static/urcu-memb.h>
39 #endif
40
41 #ifdef RCU_MB
42 #include <urcu/static/urcu-mb.h>
43 #endif
44
45 #ifdef RCU_SIGNAL
46 #include <urcu/static/urcu-signal.h>
47 #endif
48
49 #endif /* _URCU_STATIC_H */
This page took 0.030797 seconds and 4 git commands to generate.