From: nobu.nokada@... Date: 2002-11-08T15:09:55+09:00 Subject: Re: Win32 support issues Hi, At Thu, 7 Nov 2002 00:25:14 +0900, Lyle Johnson wrote: > | As for me I have problems with nonblocking I/O in Win32. Consider this: Another problem due to select(), thread cannot switch while console input. STDOUT.flush = true Thread.start {loop {print "."; sleep 1}} p gets This code continues printing dots until ENTER will be hit under UNIX or Cygwin, but stops with mswin32/mingw32/bccwin32 version. > Non-blocking I/O is certainly available in the Windows operating system; > I seem to recall that their terminology for it is "overlapped" I/O, but > that's a side issue. But just because it's not implemented in the same > way that it is under Linux/Unix doesn't make it "wrong", any more than > the fact that CreateProcess() under Win32 is "wrong" but fork() under > Linux is "right". Overlapped I/O works only for serial/parallel port actually. I'd considered about use of it, but abandoned. -- Nobu Nakada