rculfhash: document max_nr_buckets = 0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Nov 2013 14:53:54 +0000 (09:53 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Nov 2013 14:54:49 +0000 (09:54 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/rculfhash.h

index 23bd1ce3bded4fd4e83f51e0c63c34b48f788acb..6f09ddbde7cbe25f2afd83c85652c3609512f784 100644 (file)
@@ -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.
This page took 0.024981 seconds and 4 git commands to generate.