projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add C++ build tests
[urcu.git]
/
include
/
urcu
/
static
/
lfstack.h
diff --git
a/include/urcu/static/lfstack.h
b/include/urcu/static/lfstack.h
index 6c82b42c0ef9922b2c3c5ee9cdc1cca3feb69b14..a05acb4904d56308caadf3b7cc030ee81ea3ce94 100644
(file)
--- a/
include/urcu/static/lfstack.h
+++ b/
include/urcu/static/lfstack.h
@@
-289,9
+289,11
@@
struct cds_lfs_node *
_cds_lfs_pop_blocking(struct cds_lfs_stack *s)
{
struct cds_lfs_node *retnode;
_cds_lfs_pop_blocking(struct cds_lfs_stack *s)
{
struct cds_lfs_node *retnode;
+ cds_lfs_stack_ptr_t stack;
_cds_lfs_pop_lock(s);
_cds_lfs_pop_lock(s);
- retnode = ___cds_lfs_pop(s);
+ stack.s = s;
+ retnode = ___cds_lfs_pop(stack);
_cds_lfs_pop_unlock(s);
return retnode;
}
_cds_lfs_pop_unlock(s);
return retnode;
}
@@
-304,9
+306,11
@@
struct cds_lfs_head *
_cds_lfs_pop_all_blocking(struct cds_lfs_stack *s)
{
struct cds_lfs_head *rethead;
_cds_lfs_pop_all_blocking(struct cds_lfs_stack *s)
{
struct cds_lfs_head *rethead;
+ cds_lfs_stack_ptr_t stack;
_cds_lfs_pop_lock(s);
_cds_lfs_pop_lock(s);
- rethead = ___cds_lfs_pop_all(s);
+ stack.s = s;
+ rethead = ___cds_lfs_pop_all(stack);
_cds_lfs_pop_unlock(s);
return rethead;
}
_cds_lfs_pop_unlock(s);
return rethead;
}
This page took
0.025749 seconds
and
4
git commands to generate.