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
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
_______________________________________________
win32utils-devel mailing list
win32utils-devel rubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel
|