Y
Hacker News
new
|
ask
|
show
|
jobs
by
adastra22
895 days 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.