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

Luis Lavena luislavena at gmail.com
Thu Sep 27 12:41:46 EDT 2007

Hello Guys,

I'm trying to get this working:

t = Thread.new {
    while true
      puts "printing a line"
      sleep 2

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

Just droping a new bomb on the battle field :-)

In the meantime, there is a non-accepted patch for this? Park?

Thanks in advance,

Luis Lavena
Multimedia systems
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

More information about the win32utils-devel mailing list