X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=include%2Furcu%2Frculfhash.h;fp=include%2Furcu%2Frculfhash.h;h=8586e1da371f86e2c19518f60a8cef69e6db691e;hp=29dd88f1f16b0ea320ffa82ef2ed0596c7aaba65;hb=4c10e9af6fb29192621372ab9077860f3c1b179f;hpb=6568fdbf5ce243f1ac4d167e8479f84e2ae008b6 diff --git a/include/urcu/rculfhash.h b/include/urcu/rculfhash.h index 29dd88f..8586e1d 100644 --- a/include/urcu/rculfhash.h +++ b/include/urcu/rculfhash.h @@ -109,6 +109,16 @@ void cds_lfht_node_init(struct cds_lfht_node *node __attribute__((unused))) { } +/* + * cds_lfht_node_init_deleted - initialize a hash table node to "removed" state + * @node: the node to initialize. + * + * Initialize the node such that cds_lfht_is_node_deleted() can be used + * on the node before it is added to a hash table. + */ +extern +void cds_lfht_node_init_deleted(struct cds_lfht_node *node); + /* * Hash table creation flags. */