On Mon, Oct 08, 2018 at 09:22:05AM +0000, Ola Liljedahl wrote: <snip> > "* multi-producer safe lock-free ring buffer enqueue" > The comment is also wrong. This design is not lock-free, how could it be when > there is spinning > (waiting) for other threads in the code? If a thread must wait for other > threads, then by definition > the design is blocking. > My understanding is that the code is lock-free but not wait-free, though I'm not an expert in this area.
/Bruce