As has already been pointed out, the customary method is to ask the OS to send you an alarm signal and wake you up. But... are you absolutely certain that you need to do this? I sense a possible design problem here, though I have no idea what your project entails.
In reply to Re: catching infinite loops
by virtualsue
in thread catching infinite loops
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |