On Sat, 29 Jul 2006, Eric Armstrong wrote:

> Ok, thanks much. One-click Ruby is /so/ convenient.
> It's a real pity that threads don't work in it.

Threads do work on it.  Try this:

-----

def alpha
 	Thread.new do
 		'a'.upto('z') {|a| puts a; sleep 2}
 	end
end

def numeric
 	Thread.new do
 		1.upto(55) {|n| puts n; sleep 1}
 	end
end

alpha
numeric

Thread.list.each {|t| t.join}

-----


My guess would be that the way curses is implented on Windows is causing 
the thread blocking behavior.


Kirk Haines