Simplified spinlock unlocking logic. No need to use crossSwapping, we can simply assign zero to locking variable