X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=blobdiff_plain;f=include%2Furcu%2Frculfhash.h;fp=include%2Furcu%2Frculfhash.h;h=4b698b70c3b3b2fe17e87ea3dd263a0505da6386;hp=9934422ee9d6e1a4e737da18c73ba14c54dbbff7;hb=19b8479e24d9902fc97f053b3b064e552d08c2a5;hpb=d8a4979da2d86841c552798f2b9b2d535a28720d diff --git a/include/urcu/rculfhash.h b/include/urcu/rculfhash.h index 9934422..4b698b7 100644 --- a/include/urcu/rculfhash.h +++ b/include/urcu/rculfhash.h @@ -447,6 +447,11 @@ int cds_lfht_is_node_deleted(struct cds_lfht_node *node); extern void cds_lfht_resize(struct cds_lfht *ht, unsigned long new_size); +/* + * cds_lfht_rcu_flavor: get RCU flavor argument from hash table creation. + */ +const struct rcu_flavor_struct *cds_lfht_rcu_flavor(struct cds_lfht *ht); + /* * Note: it is safe to perform element removal (del), replacement, or * any hash table update operation during any of the following hash