Locks Aren't Slow; Lock Contention Is(preshing.com)3 points·by peschkaj·15 lat temu·1 commentspreshing.comLocks Aren't Slow; Lock Contention Ishttp://preshing.com/20111118/locks-arent-slow-lock-contention-is1 commentsPost comment[–]eridius·15 lat temureplyI 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?
> 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?