Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: zselect builtin.



On May 8, 10:59am, Peter Stephenson wrote:
} Subject: Re: PATCH: zselect builtin.
}
} > Aso you probably can't fully utilize select without non-blocking I/O.
} 
} I don't see this; you can already poll a blocking fd using a zero
} timeout.

The problem is not blocking reads, but blocking *writes*.

However, even non-blocking write is not sufficient if you can't find out
what subset of the bytes got written and try again with the remainder.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author