Lockless patterns: an introduction to compare-and-swap | Hacker News Reader