X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Frculfqueue.h;h=76da6b16da648eadef645337d69d49d4e8a22543;hp=f9b14fe93657343c5e1917ab77afcab4dc087a0d;hb=a5eb5ffcbd3f901c8e56ab3649fd06056b27536f;hpb=1c1e940e005b8483982945b4a2a5f40dfeeb2f8c diff --git a/urcu/rculfqueue.h b/urcu/rculfqueue.h index f9b14fe..76da6b1 100644 --- a/urcu/rculfqueue.h +++ b/urcu/rculfqueue.h @@ -78,7 +78,7 @@ void rcu_lfq_enqueue(struct rcu_lfq_queue *q, struct rcu_lfq_node *node) struct rcu_lfq_node *next; /* - * Typically expect tail to be NULL. + * Typically expect tail->next to be NULL. */ next = uatomic_cmpxchg(&tail->next, NULL, node); if (next == NULL) {