aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mpmc_ptr_ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpmc_ptr_ring.h b/src/mpmc_ptr_ring.h
index 258a16f..a09e165 100644
--- a/src/mpmc_ptr_ring.h
+++ b/src/mpmc_ptr_ring.h
@@ -105,7 +105,7 @@ static inline int mpmc_ptr_ring_produce(struct mpmc_ptr_ring *r, void *ptr)
WRITE_ONCE(r->queue[p & mask], ptr);
- /* Wait until it's our term to update the producer tail pointer */
+ /* Wait until it's our turn to update the producer tail pointer */
while (atomic_read(&r->producer_tail) != p)
cpu_relax();