Y
Hacker News
new
|
ask
|
show
|
jobs
by
rwem
2363 days ago
That’s what virtually all battle-hardened lock libraries do: spin for a bit (but not too tightly, using a pause in the loop) then fall back to waiter lists and futex.