bc78c10bd255b12780eb36844c7e6383ef01ed51
1 // SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2 // SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation.
4 // SPDX-License-Identifier: LGPL-2.1-or-later
7 * library wrappers to be used by non-LGPL compatible source code.
9 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
12 #include <urcu/uatomic.h>
14 #include <urcu/static/pointer.h>
15 /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
16 #include <urcu/pointer.h>
18 extern void synchronize_rcu(void);
20 void *rcu_dereference_sym(void *p
)
22 return _rcu_dereference(p
);
25 void *rcu_set_pointer_sym(void **p
, void *v
)
32 void *rcu_xchg_pointer_sym(void **p
, void *v
)
35 return uatomic_xchg(p
, v
);
38 void *rcu_cmpxchg_pointer_sym(void **p
, void *old
, void *_new
)
41 return uatomic_cmpxchg(p
, old
, _new
);
This page took 0.029945 seconds and 3 git commands to generate.