Locks Aren't Slow; Lock Contention Is(preshing.com) |
Locks Aren't Slow; Lock Contention Is(preshing.com) |
> I know teams which spent weeks fine-tuning a lock-free algorithm, subjecting it to a battery of tests, only to discover hidden deadlock bugs several months later.
How exactly can you deadlock in a lock-free algorithm?