In reply to Re: sleep and waking on signal handlers by ikegami in thread sleep and waking on signal handlers by TedYoung