Use is_locked() rather than try_Lock() to avoid blocking when draining the debug queue as we're no longer using spin-rs.
Use is_locked() rather than try_Lock() to avoid
blocking when draining the debug queue as
we're no longer using spin-rs.

diodesign/diosix