change spinlock API