Concurrency Primitives in Intel 64 Assembly (davidad.github.io)