News for hackers. Stuff that matters.
Re:Atomics and Concurrency by adastra22 on Friday January 12, 2024 @08:31AM (#38967695)
> In order to enqueue an element, you have to change two atomic pointers: tail->next and tail. That cannot be done atomically.

With added indirection, there are ways of doing this atomically.

There are no comments on this comment yet.