Joel VanderWerf
1/30/2006 8:29:00 PM
ara.t.howard@noaa.gov wrote:
...
>> - the use of timeout was just to allow the test to exit when the hang
>> occurred. I didn't realize it fails on w32. Is it Timeout that
>> fails, or just when timeout is combined with IO reads?
>
> i may have mispoke - you may be able to use a thread and timeout - but
> it very
> easy to block an entire process with io and threads in win... fyi.
I've mixed threads, timeout, and sockets on windows with no problems.
But I haven't done this with pipes...
ISTR that the problem on windows is with terminal io.
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407