projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hash table test: FreeBSD compatibility fix
[userspace-rcu.git]
/
rculfhash.c
diff --git
a/rculfhash.c
b/rculfhash.c
index b114e0c1e3f5e9afe56e985da2f6122551cc1f4f..94366050bfb00957988730edcae25923e3f39379 100644
(file)
--- a/
rculfhash.c
+++ b/
rculfhash.c
@@
-1553,6
+1553,11
@@
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)
+{
+ return is_removed(rcu_dereference(node->next));
+}
+
static
int cds_lfht_delete_bucket(struct cds_lfht *ht)
{
static
int cds_lfht_delete_bucket(struct cds_lfht *ht)
{
This page took
0.023048 seconds
and
4
git commands to generate.