X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Frculfhash.h;h=de315265d38efd597e26a0c4d3938474196005df;hb=c1888f3a47cf8f7c213269888ce42d191de7e34a;hp=1224ea808484fa385c5c5c3c92b8fbcfb113b52e;hpb=308d1cb3650b63d373e60eef0582d6e238b0d2d0;p=urcu.git diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 1224ea8..de31526 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -106,6 +106,7 @@ 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. @@ -153,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); } /*