Billy Donahue (4) [Avatar] Offline
#1
Listing 5.8 has a note "Spin, waiting for y to be set to true" near arrow '1', which is a simple store.
The spin loop is at arrow '3' a few inches below it.

https://livebook.manning.com/#!/book/c-plus-plus-concurrency-in-action/chapter-5/142
anthony.williams (204) [Avatar] Offline
#2
Fixed