Re: Making Event work for Win32

[email protected] (Nick Ing-Simmons)
Newsgroups perl.loop
Organization via, but not speaking for : Texas Instruments Ltd.
Message-ID <[email protected]>
Joshua N Pritikin <[email protected]> writes:
>> 
>> But MS's own C "stdio" runtime (which perl currently uses) cannot work with  
>> asynchronous IO.
>
>I see no compelling reason to suggest using MS's stdio.  If possible,
>I'd like to avoid as many compatibility layers as possible and talk
>directly to low-level APIs.

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.

So we are stuck with stdio layer until such time as we rewrite PerlIO
to use native Handle level APIs.

-- 
Nick Ing-Simmons <[email protected]>
Via, but not speaking for: Texas Instruments Ltd.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.