3 ms·
`volatile` is one of the things we need to pay attention to when dealing with threads, but as you notice it's not the only one. Eskil Steenberg talks about it
by Jorengarenar 4y ago
`volatile` is one of the things we need to pay attention to when dealing with threads, but as you notice it's not the only one.
Eskil Steenberg talks about it at 12:42 in his talk Advanced C: The UB and optimizations that trick good programmers. [0]
[0]: https://youtu.be/w3_e9vZj7D8?t=762 https://youtu.be/w3_e9vZj7D8?t=762