If you don't want to use alarm, then the the general solution used for this type of timer interrupt is called an "event loop" system. Gui's like Tk, Wx, Gtk2, and non -gui's like Poe, and Glib are your best solutions..... see Roll your own Event-loop for example.
In reply to Re: Callbacks for Timeouts
by zentara
in thread Callbacks for Timeouts
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |