Re: Making Event work for Win32

[email protected] (Joshua N Pritikin)
Newsgroups perl.loop
Message-ID <[email protected]>
On Tue, Mar 21, 2000 at 04:10:45PM +0000, [email protected] wrote:
> 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.

Oh!  I didn't know that.  At least Event can be forward thinking and use
handles internally...?

-- 
"May the best description of competition prevail."
          via, but not speaking for Deutsche Bank
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.