uatomic: Fix header guard comment
[userspace-rcu.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_MB)
21 #define RCU_MEMBARRIER
22 #endif
23
24 #ifdef RCU_MEMBARRIER
25 #include <urcu/urcu-memb.h>
26 #elif defined(RCU_MB)
27 #include <urcu/urcu-mb.h>
28 #else
29 #error "Unknown urcu flavor"
30 #endif
31
32 #endif /* _URCU_H */
This page took 0.062581 seconds and 5 git commands to generate.