Tools: Small utility to sort logs.
Check: Only one thread is allowed into the signal handler at once.

Remember this is for debugging purposes only. If we allow more then
one thread then a log dump could be interrupted by another signal
handler which would end up kill the process before we're able to dump
the entire log.