rculfhash: document max_nr_buckets = 0
[urcu.git] / urcu / rculfhash.h
index afd0c3eafb34aff325843ea476b4714d90e86fe5..7a411ad688ee92cbd753a7f04f798f355179beca 100644 (file)
@@ -133,7 +133,8 @@ struct cds_lfht *_cds_lfht_new(unsigned long init_size,
  * @min_nr_alloc_buckets: the minimum number of allocated buckets.
  *                        (must be power of two)
  * @max_nr_buckets: the maximum number of hash table buckets allowed.
- *                  (must be power of two)
+ *                  (must be power of two, 0 is accepted, means
+ *                  "infinite")
  * @flags: hash table creation flags (can be combined with bitwise or: '|').
  *           0: no flags.
  *           CDS_LFHT_AUTO_RESIZE: automatically resize hash table.
This page took 0.022223 seconds and 4 git commands to generate.