This file contains C source code described in the Locks-in-Layers series of articles. This includes inline assembly language routines compatible with some common CPUs that enable the creation of atomic operations.