in reply to Re: Cannot catch ALRM signal for timeout
in thread Cannot catch ALRM signal for timeout
and then the system read is called to fill the buffer again...
You make it sound like Perl launches a thread to fill the buffer in the background. In reality, it's eof that reads from the file.
Move the eof into the eval and the timeout will take effect.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Cannot catch ALRM signal for timeout
by almut (Canon) on Dec 08, 2009 at 15:57 UTC | |
|
Re^3: Cannot catch ALRM signal for timeout
by Magice (Novice) on Dec 08, 2009 at 19:59 UTC | |
by ikegami (Patriarch) on Dec 08, 2009 at 21:24 UTC | |
by Magice (Novice) on Dec 08, 2009 at 22:28 UTC | |
by almut (Canon) on Dec 08, 2009 at 23:35 UTC | |
by ikegami (Patriarch) on Dec 08, 2009 at 22:45 UTC |