bwlock: spinlock added