3 ms·The java JDK lockless queue is also compare and swap. I don't know the reasoning behind it though.by papaf 16y agoThe java JDK lockless queue is also compare and swap. I don't know the reasoning behind it though.