A user space implementation of ticket spinlocks similar to the one found in the linux kernel. Simple to understand and use.