implement an "atomic" fifo
This is in fact still suboptimal. It uses two CAS operations per call in the best case on the fast path and by that is not lock free.
p99/p99_fifo.h
0 → 100644
Please register or sign in to comment
This is in fact still suboptimal. It uses two CAS operations per call in the best case on the fast path and by that is not lock free.