Shared memory atomic operations

WWW: https://cmmr.github.io/semaphore
