Fixed spinlock locking logic. Didn't lock AT ALL