logoalt Hacker News

senderista • today at 7:37 AM • 1 reply • view on HN

I work on a commercial database marketed as "lock-free" and I can't tell you how many CAS spin loops I've seen with no backoff or iteration bounds.


Replies

masklinn • today at 8:33 AM

Does the system provide ready made backoff and / or bounded CAS loop primitives? Because if you have to write the entire thing in full every time I can see why it’s get skipped.