X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Frculfqueue.h;fp=urcu%2Frculfqueue.h;h=b712998c07a929cfa5d49da370bd0c676c72ecdb;hp=808a16b8f18f0fd63c016169f2fb643ab83ed9fa;hb=c91b00b73226a431d5f7d8e262950fd3e83f40f1;hpb=ee566d46ed91f8e332460626573399237c312b4d diff --git a/urcu/rculfqueue.h b/urcu/rculfqueue.h index 808a16b..b712998 100644 --- a/urcu/rculfqueue.h +++ b/urcu/rculfqueue.h @@ -111,8 +111,9 @@ void rcu_lfq_enqueue(struct rcu_lfq_queue *q, struct rcu_lfq_node *node) * which calls the release primitive when the reference count drops to zero. A * grace period must be waited before performing the actual memory reclamation * in the release primitive. - * The entry lfq node returned by dequeue must not be re-used before the - * reference count reaches zero. + * The entry lfq node returned by dequeue must not be modified/re-used/freed + * until the reference count reaches zero and a grace period has elapsed (after + * the refcount reached 0). */ struct rcu_lfq_node * rcu_lfq_dequeue(struct rcu_lfq_queue *q, void (*release)(struct urcu_ref *))