in reply to Re^3: Reliable Timeout
in thread Reliable Timeout

Alarm is not supposed to work reliably. And it doesen't work reliable neither with perl nor with C.

Please check your facts.

Have you heard about something called 'POSIX Signals'? Do you know that one of main differences between those and normal unix signals is reliability?

And yes, none of the comment contain any answers, unless you count as an answer to reliably comment from a saint telling me to use '\n' in die. And then backtracking and saying that one shouldn't use 'die' at all.

Replies are listed 'Best First'.
Re^5: Reliable Timeout
by bluto (Curate) on Feb 16, 2005 at 16:55 UTC
    My appologies for my previous comment -- it was rather caustic.

    You've probably already done this, but if not you may want to Super Search this problem since similar issues have come up in the past wrt alarm().