Graham Barr <[EMAIL PROTECTED]> writes:
>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.

It thinks it is. But IIRC because numeric fd is alien to Win32
read() indexes the stdio FILE * table to get data structure which 
has the HANDLE for the thing. In any case read() is MS C runtime not 
Win32 native - and it does not work if HANDLE is in async mode.



>
>Graham.
-- 
Nick Ing-Simmons <[EMAIL PROTECTED]>
Via, but not speaking for: Texas Instruments Ltd.

Reply via email to