From: Mathieu Desnoyers Date: Tue, 19 Nov 2013 14:53:54 +0000 (-0500) Subject: rculfhash: document max_nr_buckets = 0 X-Git-Tag: v0.7.10~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=22731b1993177a83bf5fbefde65c949df9c0ed22;p=userspace-rcu.git rculfhash: document max_nr_buckets = 0 Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 23bd1ce..6f09ddb 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -132,7 +132,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.