logoalt Hacker News

bob1029yesterday at 9:53 PM0 repliesview on HN

To be really pedantic, it's a spin wait, not a spin lock in disruptor. You are waiting for a sequence, not mutually excluding some resource. Many threads can watch the same volatile at the same time without blocking each other.