X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Frcuja.h;fp=urcu%2Frcuja.h;h=4570f1a89da4512184d8fd785a314934ad0d4075;hb=6a8ecb1c59f0f37bdb80dc41a91a87290ce0bb18;hp=421e8388eb563112c894d6897b6e990d1e772911;hpb=5b62a42a6295b4a30b5e82ebe54e8f40b8a0b3a3;p=userspace-rcu.git diff --git a/urcu/rcuja.h b/urcu/rcuja.h index 421e838..4570f1a 100644 --- a/urcu/rcuja.h +++ b/urcu/rcuja.h @@ -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));