News for hackers. Stuff that matters.
Re:A lock-free ring-buffer with contiguous reservations (2019) by loeg on Thursday February 29, 2024 @11:32AM (#39551575)
No -- for a lock-free design with a single producer and consumer, it's possible both are typically writing to independent regions of memory. With a lock, both have to write the same cache line to take and release the lock.

There are no comments on this comment yet.