[Win32utils-devel] Threads and IO (gets) still a problem for us?

Berger, Daniel Daniel.Berger at qwest.com
Thu Sep 27 15:19:12 EDT 2007

> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org 
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of 
> Luis Lavena
> Sent: Thursday, September 27, 2007 10:42 AM
> To: Development and ideas for win32utils projects
> Subject: [Win32utils-devel] Threads and IO (gets) still a 
> problem for us?
> Hello Guys,
> I'm trying to get this working:
> t = Thread.new {
>     while true
>       puts "printing a line"
>       sleep 2
>     end
>   }
> gets
> t.exit
> puts "exiting"
> As you see, the idea is get multiple "printing a line" until 
> a hit enter.
> The thing is this is a known problem for 1.8 on win32.
> I tried both mingw, VC6 and VC8 with the same results.
> Saw a post from Park Heesob patching this in 2003... but for 1.8.1.
> Should the new WinRuby propose a solution for this? :-D

Fixing Kernel#select for Windows is one of the goals. :)



This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

More information about the win32utils-devel mailing list