From: Robert Klemme Date: 2012-12-07T18:08:43+09:00 Subject: Re: how to trigger a thread by event On Fri, Dec 7, 2012 at 10:05 AM, XueBrian wrote: > As you know, ruby thread start to execute when created, like > > Thread.new do > ...... > end > > Here my question is how can I defer the thread execution until something > happened, like an event? Huh? Is this a serious question? The solution seems pretty obvious. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/