X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=urcu%2Frculfhash.h;h=9c382120111c34d31d86fd80e9206d575626534a;hb=44151f8911a4fa6acec61f05116f0a534a1c3411;hp=4d50f08ee892803fa4762ba266846ee067fc9d01;hpb=43387742bc856603330eb530094a702d847503a0;p=userspace-rcu.git diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 4d50f08..9c38212 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -484,6 +484,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