3d53992b4d6f4270a1219e6a06dbc202ad4303df
2 * SPDX-License-Identifier: LGPL-2.1-or-later
4 * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
7 * library wrappers to be used by non-LGPL compatible source code.
10 #include <urcu/uatomic.h>
12 #include <lttng/urcu/static/pointer.h>
13 /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
14 #include <lttng/urcu/pointer.h>
16 void *lttng_ust_rcu_dereference_sym(void *p
)
18 return _lttng_ust_rcu_dereference(p
);
21 void *lttng_ust_rcu_set_pointer_sym(void **p
, void *v
)
28 void *lttng_ust_rcu_xchg_pointer_sym(void **p
, void *v
)
31 return uatomic_xchg(p
, v
);
34 void *lttng_ust_rcu_cmpxchg_pointer_sym(void **p
, void *old
, void *_new
)
37 return uatomic_cmpxchg(p
, old
, _new
);
This page took 0.040252 seconds and 3 git commands to generate.