Encoding unit — one grounded idea

1 A lock-based implementation prevents race conditions but can lead to poor performance due to thread blocking and lack of progress when threads wait for locks.
“thread 2 says well I'd like to do some work no one else is doing anything why can't I do some work I would like to you know operate on this data structure but I have to wait for the guy who took the lunch nothing's happening right so our algorithm is making no progress It's just sitting there”
spoken · 559s · 2024-12-10 · en · CppCon · Introduction to Wait-free Algorithms in C++ Programming - Daniel Anderson - CppC…
id: d49c6d4cc02880ad
concepts in this idea