projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
urcu-qsbr: move private definitions to .c file
[urcu.git]
/
urcu
/
static
/
rculfstack.h
diff --git
a/urcu/static/rculfstack.h
b/urcu/static/rculfstack.h
index 7caf3c8c0d15f344170c33873f4cb6f4b4d107fa..ba26231e87206371965c653189596137abb818cd 100644
(file)
--- a/
urcu/static/rculfstack.h
+++ b/
urcu/static/rculfstack.h
@@
-26,22
+26,24
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <urcu/uatomic_arch.h>
-/* A urcu implementation header should be already included. */
+#include <urcu/uatomic.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
+static inline
void _cds_lfs_node_init_rcu(struct cds_lfs_node_rcu *node)
{
}
void _cds_lfs_node_init_rcu(struct cds_lfs_node_rcu *node)
{
}
+static inline
void _cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s)
{
s->head = NULL;
}
void _cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s)
{
s->head = NULL;
}
+static inline
void _cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *node)
{
struct cds_lfs_node_rcu *head = NULL;
void _cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *node)
{
struct cds_lfs_node_rcu *head = NULL;
@@
-67,6
+69,7
@@
void _cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *nod
* node or modifying the cds_lfs_node_rcu structure.
* Returns NULL if stack is empty.
*/
* node or modifying the cds_lfs_node_rcu structure.
* Returns NULL if stack is empty.
*/
+static inline
struct cds_lfs_node_rcu *
_cds_lfs_pop_rcu(struct cds_lfs_stack_rcu *s)
{
struct cds_lfs_node_rcu *
_cds_lfs_pop_rcu(struct cds_lfs_stack_rcu *s)
{
This page took
0.022956 seconds
and
4
git commands to generate.