Locks Aren't Slow; Lock Contention Ispreshing.com 3 pointspeschkaj14 years ago1 commentSaveHideCopy link On HNComments−eridius14yI just ran across this gem of a sentence:> 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?
Comments
I just ran across this gem of a sentence:
> 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?