rust-atomics-and-locks icon indicating copy to clipboard operation
rust-atomics-and-locks copied to clipboard

Chapter 9 slightly inaccurate description?

Open helixbass opened this issue 1 year ago • 0 comments

Type of error

Minor technical mistake

Location of the error

https://marabos.nl/atomics/building-locks.html#optimizing-further

Description of the error

"After the lock state has changed" - if I'm following correctly then we don't know that the lock state has necessarily changed, either the lock state changed or we did 100 "spins"?

helixbass avatar Mar 19 '23 16:03 helixbass