in reply to Re: fork - alarm - output
in thread fork - alarm - output

The former is quite simple (alarm around a read),
I would most likely opt for a 4-arg select in that case.

Replies are listed 'Best First'.
Re^3: fork - alarm - output
by ikegami (Patriarch) on Jun 08, 2010 at 15:46 UTC
    That's what I'm using now for the other case. It would require twice as much code as needed, but it's definitely an option. I'm not fond of using alarm, so I might very well end up using select as well.