spin provides a simple spinlock for Go