A demo of concurrency primitives in x64 assembly