its scheduling lock, make sure that the thread still has the signal unmasked. Make a debug statement conditional on debugging being enabled.