Why does this mean it is unsafe? The lock routine will never loop with interrupts disabled so there shouldn't be any chance of deadlock. Am I missing something?