projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make lf stack push return if the stack was empty
[urcu.git]
/
rculfstack.c
diff --git
a/rculfstack.c
b/rculfstack.c
index aa906af9480c66efce8c35ccf8d2b3625b9aabfd..f58628ce4ea06f55185fb75682cbc9f6b974ef36 100644
(file)
--- a/
rculfstack.c
+++ b/
rculfstack.c
@@
-51,9
+51,10
@@
void cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s)
_cds_lfs_init_rcu(s);
}
_cds_lfs_init_rcu(s);
}
-void cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *node)
+int cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s,
+ struct cds_lfs_node_rcu *node)
{
{
- _cds_lfs_push_rcu(s, node);
+
return
_cds_lfs_push_rcu(s, node);
}
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.023012 seconds
and
4
git commands to generate.