Phase 1 of deprecating liburcu-signal
[urcu.git] / include / urcu / urcu.h
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_H
7 #define _URCU_H
8
9 /*
10 * Userspace RCU header
11 *
12 * LGPL-compatible code should include this header with :
13 *
14 * #define _LGPL_SOURCE
15 * #include <urcu.h>
16 *
17 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
18 */
19
20 #if !defined(RCU_MEMBARRIER) && !defined(RCU_SIGNAL) && !defined(RCU_MB)
21 #define RCU_MEMBARRIER
22 #endif
23
24 #ifdef RCU_MEMBARRIER
25 #include <urcu/urcu-memb.h>
26 #elif defined(RCU_SIGNAL)
27 #include <urcu/urcu-signal.h>
28 #elif defined(RCU_MB)
29 #include <urcu/urcu-mb.h>
30 #else
31 #error "Unknown urcu flavor"
32 #endif
33
34 #endif /* _URCU_H */
This page took 0.029743 seconds and 4 git commands to generate.