Portability layer for atomic operations like compare-and-swap (CAS)

WWW: https://github.com/Shinmera/atomics
