projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack: push returns prior stack emptiness state
[urcu.git]
/
urcu
/
rculfstack.h
diff --git
a/urcu/rculfstack.h
b/urcu/rculfstack.h
index ad83dbe771cd09adf33bf7446c102cecb24666c6..cf00daf26cc65cf09d300dafb91dd73467cf6f42 100644
(file)
--- a/
urcu/rculfstack.h
+++ b/
urcu/rculfstack.h
@@
-68,10
+68,11
@@
struct cds_lfs_stack_rcu {
extern void cds_lfs_node_init_rcu(struct cds_lfs_node_rcu *node);
extern void cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s);
extern void cds_lfs_node_init_rcu(struct cds_lfs_node_rcu *node);
extern void cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s);
-extern void cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *node);
+extern int cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s,
+ struct cds_lfs_node_rcu *node);
/*
/*
- *
Should be called under rcu read lock critical section
.
+ *
Acts as a RCU reader
.
*
* The caller must wait for a grace period to pass before freeing the returned
* node or modifying the cds_lfs_node_rcu structure.
*
* The caller must wait for a grace period to pass before freeing the returned
* node or modifying the cds_lfs_node_rcu structure.
This page took
0.02311 seconds
and
4
git commands to generate.