X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=rculfhash.c;h=94366050bfb00957988730edcae25923e3f39379;hp=b114e0c1e3f5e9afe56e985da2f6122551cc1f4f;hb=aee1715b914e5f4ba5003079d5d954ef2209f04e;hpb=91a75cc579698814e47877cc8927fcae1f573739 diff --git a/rculfhash.c b/rculfhash.c index b114e0c..9436605 100644 --- 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; } +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) {