projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash: make cds_lfht_iter_get_node argument const
[urcu.git]
/
include
/
urcu
/
static
/
lfstack.h
diff --git
a/include/urcu/static/lfstack.h
b/include/urcu/static/lfstack.h
index d7e70d4966d6bab1f5f040c634a025c84f7baa99..22233d8d22b3d3deacfef4abf502e28dd8bcc2e1 100644
(file)
--- a/
include/urcu/static/lfstack.h
+++ b/
include/urcu/static/lfstack.h
@@
-87,7
+87,7
@@
void ___cds_lfs_init(struct __cds_lfs_stack *s)
}
static inline
}
static inline
-bool ___cds_lfs_empty_head(struct cds_lfs_head *head)
+bool ___cds_lfs_empty_head(
const
struct cds_lfs_head *head)
{
return head == NULL;
}
{
return head == NULL;
}
@@
-98,7
+98,7
@@
bool ___cds_lfs_empty_head(struct cds_lfs_head *head)
* No memory barrier is issued. No mutual exclusion is required.
*/
static inline
* No memory barrier is issued. No mutual exclusion is required.
*/
static inline
-bool _cds_lfs_empty(cds_lfs_stack_ptr_t s)
+bool _cds_lfs_empty(cds_lfs_stack_
const_
ptr_t s)
{
return ___cds_lfs_empty_head(uatomic_load(&s._s->head, CMM_RELAXED));
}
{
return ___cds_lfs_empty_head(uatomic_load(&s._s->head, CMM_RELAXED));
}
This page took
0.022181 seconds
and
4
git commands to generate.