A machine-independent spinlock implementation. It has the advantages of