d7b00ffcd8876695366cd103c51461bf6c038a16
1 // SPDX-FileCopyrightText: 2010 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 // SPDX-License-Identifier: LGPL-2.1-or-later
6 * Userspace RCU library - Lock-Free RCU Stack
9 /* Remove deprecation warnings from LGPL wrapper build. */
10 #define CDS_LFS_RCU_DEPRECATED
12 /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
14 #include "urcu/rculfstack.h"
16 #include "urcu/static/rculfstack.h"
19 * library wrappers to be used by non-LGPL compatible source code.
23 void cds_lfs_node_init_rcu(struct cds_lfs_node_rcu
*node
)
25 _cds_lfs_node_init_rcu(node
);
28 void cds_lfs_init_rcu(struct cds_lfs_stack_rcu
*s
)
33 int cds_lfs_push_rcu(struct cds_lfs_stack_rcu
*s
,
34 struct cds_lfs_node_rcu
*node
)
36 return _cds_lfs_push_rcu(s
, node
);
39 struct cds_lfs_node_rcu
*cds_lfs_pop_rcu(struct cds_lfs_stack_rcu
*s
)
41 return _cds_lfs_pop_rcu(s
);
This page took 0.029944 seconds and 4 git commands to generate.