projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack: add nonblocking to _LGPL_SOURCE API
[urcu.git]
/
wfstack.c
diff --git
a/wfstack.c
b/wfstack.c
index 6d41f890b28787b36562618fcb4480e7a9f094c2..4ccb6b93aaaecc0752d4682842fba13aff2512d9 100644
(file)
--- a/
wfstack.c
+++ b/
wfstack.c
@@
-58,9
+58,9
@@
struct cds_wfs_head *cds_wfs_pop_all_blocking(struct cds_wfs_stack *s)
return _cds_wfs_pop_all_blocking(s);
}
return _cds_wfs_pop_all_blocking(s);
}
-struct cds_wfs_node *cds_wfs_first
_blocking
(struct cds_wfs_head *head)
+struct cds_wfs_node *cds_wfs_first(struct cds_wfs_head *head)
{
{
- return _cds_wfs_first
_blocking
(head);
+ return _cds_wfs_first(head);
}
struct cds_wfs_node *cds_wfs_next_blocking(struct cds_wfs_node *node)
}
struct cds_wfs_node *cds_wfs_next_blocking(struct cds_wfs_node *node)
@@
-68,6
+68,11
@@
struct cds_wfs_node *cds_wfs_next_blocking(struct cds_wfs_node *node)
return _cds_wfs_next_blocking(node);
}
return _cds_wfs_next_blocking(node);
}
+struct cds_wfs_node *cds_wfs_next_nonblocking(struct cds_wfs_node *node)
+{
+ return _cds_wfs_next_nonblocking(node);
+}
+
void cds_wfs_pop_lock(struct cds_wfs_stack *s)
{
_cds_wfs_pop_lock(s);
void cds_wfs_pop_lock(struct cds_wfs_stack *s)
{
_cds_wfs_pop_lock(s);
@@
-83,6
+88,11
@@
struct cds_wfs_node *__cds_wfs_pop_blocking(struct cds_wfs_stack *s)
return ___cds_wfs_pop_blocking(s);
}
return ___cds_wfs_pop_blocking(s);
}
+struct cds_wfs_node *__cds_wfs_pop_nonblocking(struct cds_wfs_stack *s)
+{
+ return ___cds_wfs_pop_nonblocking(s);
+}
+
struct cds_wfs_head *__cds_wfs_pop_all(struct cds_wfs_stack *s)
{
return ___cds_wfs_pop_all(s);
struct cds_wfs_head *__cds_wfs_pop_all(struct cds_wfs_stack *s)
{
return ___cds_wfs_pop_all(s);
This page took
0.023669 seconds
and
4
git commands to generate.