X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Frculfhash.h;fp=urcu%2Frculfhash.h;h=004c20817b8585e1cecc21f37068b8725b8a5d43;hp=7d06a869bc0f5b3b60d74feec7a4a93dff107684;hb=9be0828e85625ab403b83962622a7241665c49ea;hpb=929ad508088a17b183009bff36aacaa0b566f22e diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 7d06a86..004c208 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -214,7 +214,8 @@ void cds_lfht_lookup(struct cds_lfht *ht, unsigned long hash, * @key: the current node key. * @iter: Node, if found (output). *iter->node set to NULL if not found. * - * Uses an iterator initialized by a lookup. + * Uses an iterator initialized by a lookup. Important: the iterator + * _needs_ to be initialized before calling cds_lfht_next_duplicate. * Sets *iter-node to the following node with same key. * Sets *iter->node to NULL if no following node exists with same key. * RCU read-side lock must be held across cds_lfht_lookup and