Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

`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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: