select on windows platform

Beseilius Heiko <[email protected]> Wed, 5 Mar 2003 08:12:03 +0100
Newsgroups gmane.comp.lang.ruby.german
Message-ID <[email protected]>
Hello all members of this mailing list,

Following ruby(1.6.8) code has different behavior on different platforms:
select([$stdin], nil, nil, nil) 
On solaris an cygwin platforms the current thread sleeps forever.
On windows platforms the function returns immediately. 
Can someone tell me this fact and how should I use the select function for
the same behavior on all platforms?

Thanks!