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