You're right. I don't know what I was thinking. When control returns from the signal handler, the previously running statement is complete (even if it is a blocking statement. So, the signal handler doesn't really need to do anything, just break from the sleep(). I will need to verify this works the same on Win32, but I think this is the solution to my problem.
Thank you so much! Casey
In reply to Re: Re: Re: Re: Awake from sleep()
by cmilfo
in thread Awake from sleep()
by cmilfo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |