X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Frculfqueue.h;h=32fca49a6cb126a38ad4342c31a23a74a091545f;hb=bf4b1620f85f3b539a06da5facab8c603686fe7a;hp=f9b14fe93657343c5e1917ab77afcab4dc087a0d;hpb=453629a9317adef5b96c3d55e4dcd98db680997a;p=urcu.git diff --git a/urcu/rculfqueue.h b/urcu/rculfqueue.h index f9b14fe..32fca49 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) { @@ -107,7 +107,7 @@ 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 no be re-used before the + * The entry lfq node returned by dequeue must not be re-used before the * reference count reaches zero. */ struct rcu_lfq_node *