News for hackers. Stuff that matters.
Re:Atomics and Concurrency by T0pH4t on Friday January 12, 2024 @11:29AM (#38970075)
I'm surprised more people are not calling out

"enqueue() happily overwrites current_tail->next even if it is not null (which may happen if some other producer has enqueued something since we read current_tail)."

Its probably one of the bigger problems of this queue, basically negates the whole structure with this bug.

There are no comments on this comment yet.