Correctly implementing a spinlock in Modern C++ | Hacker News Reader