Added spinlock