Use acquire() and release() for spinlocks