X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Frculfhash.h;h=eca0471ac3ea73ee735253f7ef1353ef27140d6e;hb=169e1020838cc5b9f3df503d160ce1bf0c939b2f;hp=d8c85bce3822e3cda716571257ca810dac0d7d9f;hpb=731ccb963c80afd067e20acee2f9bd7cb4875ffb;p=userspace-rcu.git diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index d8c85bc..eca0471 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -486,6 +486,11 @@ void cds_lfht_resize(struct cds_lfht *ht, unsigned long new_size); pos = caa_container_of(cds_lfht_iter_get_node(iter), \ __typeof__(*(pos)), member)) +/* + * 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); + #ifdef __cplusplus } #endif