From: Paul Brannan Date: 2002-08-02T23:02:32+09:00 Subject: Re: "gets" blocking process not thread (in Windows only) On Fri, Aug 02, 2002 at 10:31:15AM +0900, nobu.nokada@softhome.net wrote: > This limitation comes from that the current implementation uses > select() in winsock. It works only for socket handles, so the > others are treated as always immediately readable/writable. > This problem has been known but still unsolved. What issues are there with using rb_f_select() instead? > And one more issue, windows console reports ready to I/O even > when a mouse event occurs, but ruby doesn't want it. ReadConsoleInput should return the type of event, so even if a mouse event occurs, you can ignore it. Paul