Add spinlocks.