3 ms·
> 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 ar
by adastra22 3y ago
> 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.