Added modes to spinlock_acquire()