rcuja: document destroy requirement
[userspace-rcu.git] / urcu / rcuja.h
index 421e8388eb563112c894d6897b6e990d1e772911..4570f1a89da4512184d8fd785a314934ad0d4075 100644 (file)
@@ -147,6 +147,7 @@ struct cds_ja *cds_ja_new(unsigned int key_bits)
  * on the Judy array while it is being destroyed (ensured by the caller).
  * There is no need for the @rcu_free_node_cb callback to wait for grace
  * periods, since there are no more concurrent users of the Judy array.
+ * RCU read-side lock should _not_ be held when calling this function.
  */
 int cds_ja_destroy(struct cds_ja *ja,
                void (*free_node_cb)(struct cds_ja_node *node));
This page took 0.023026 seconds and 4 git commands to generate.