projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
urcu-bp: perform thread registration on urcu_bp_register_thread
[urcu.git]
/
src
/
rculfhash.c
diff --git
a/src/rculfhash.c
b/src/rculfhash.c
index 811d5156ccdebc06679758ea282c9df22060fd16..51972c8d1b318c618776a8d0b4b26e5373b9dbae 100644
(file)
--- a/
src/rculfhash.c
+++ b/
src/rculfhash.c
@@
-826,7
+826,7
@@
struct cds_lfht_node *clear_flag(struct cds_lfht_node *node)
}
static
}
static
-int is_removed(struct cds_lfht_node *node)
+int is_removed(
const
struct cds_lfht_node *node)
{
return ((unsigned long) node) & REMOVED_FLAG;
}
{
return ((unsigned long) node) & REMOVED_FLAG;
}
@@
-1830,7
+1830,7
@@
int cds_lfht_del(struct cds_lfht *ht, struct cds_lfht_node *node)
return ret;
}
return ret;
}
-int cds_lfht_is_node_deleted(struct cds_lfht_node *node)
+int cds_lfht_is_node_deleted(
const
struct cds_lfht_node *node)
{
return is_removed(CMM_LOAD_SHARED(node->next));
}
{
return is_removed(CMM_LOAD_SHARED(node->next));
}
This page took
0.026545 seconds
and
4
git commands to generate.