Spinlocks revisited