From: Eric Armstrong Date: 2006-07-29T08:07:10+09:00 Subject: Re: ruby threads? the point? khaines@enigo.com wrote: > > Threads do work on (one-click Windows ruby). > > 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. > Interesting. I suppose it could be considered a Curses bug, then. So how would you implement a simple keyboard-controller for threads on Windows? Or are my options restricted to full-blown GUI or nothing at all?