On Tue, Mar 21, 2000 at 05:30:04PM +0000, "Graham Barr" wrote:
> On Tue, Mar 21, 2000 at 04:10:45PM +0000, Nick Ing-Simmons wrote:
> > But when Event says "handle is readable" how is perl code going to
> > do its IO to read it? - right now <$fh> or even sysread($fh,...)
> > call MS stdio to do that - which will fail if Handles are in async mode.
> sysread() used the MS stdio layer ? If so then perl is broken. sysread
> should bypass stdio.
Unfortunately, by "sysread()", perl means the read() "system call", which
on MS Win32, is actually emulated.
In Win32, there is no such thing _really_ as a "file descriptor" (integer).
mark
--
[EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | SIR Tools (7H12)
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | Nortel Networks
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...
http://mark.mielke.cc/