On Tue, Aug 28, 2012 at 4:01 PM, ajay paswan <[email protected]> wrote:
> I have created two child thread using main thread- child1 and child2.
> Now child 2 has stopped along with main thread. They stopped executing
> or proceeding. Only child 1 is proceeding. After child1 finishes..child2
> starts, and then main. I want both child1 and child 2 run parallely, how
> to achieve that? any pointers/suggestion?

Normally they run in parallel - there are some limitations on MRI
though.  What Ruby do you use and what do your threads do?

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to