X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Frculfhash.h;h=de315265d38efd597e26a0c4d3938474196005df;hb=c1888f3a47cf8f7c213269888ce42d191de7e34a;hp=c03baf41a2b8405fda996ddb633a250a8bcdd89a;hpb=0b6aa0018b42d0b101c617ef6c6d34d0f4dd2258;p=urcu.git diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index c03baf4..de31526 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -105,6 +105,8 @@ struct cds_lfht_mm_type { }; extern const struct cds_lfht_mm_type cds_lfht_mm_order; +extern const struct cds_lfht_mm_type cds_lfht_mm_chunk; +extern const struct cds_lfht_mm_type cds_lfht_mm_mmap; /* * _cds_lfht_new - API used by cds_lfht_new wrapper. Do not use directly. @@ -152,7 +154,7 @@ struct cds_lfht *cds_lfht_new(unsigned long init_size, pthread_attr_t *attr) { return _cds_lfht_new(init_size, min_nr_alloc_buckets, max_nr_buckets, - flags, &cds_lfht_mm_order, &rcu_flavor, attr); + flags, NULL, &rcu_flavor, attr); } /*