[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Subclassing Thread?
From:       7stud -- <dolgun () excite ! com>
Date:       2007-09-30 18:12:51
Message-ID: 457aa976d086cb7e25af25bcd197cb8d () ruby-forum ! com
[Download RAW message or body]

Ari Brown wrote:
> Quick thread question:
> 
> Does a thread need to be started with x.join, or will it start
> automatically?
> 

As this thread highlights, there doesn't seem to be a way to create a 
thread in Ruby without starting it.  So,  the answer to your question 
is: no, x.join does not start a thread.  In fact, join() stops the 
thread in which the join() statement appears.
-- 
Posted via http://www.ruby-forum.com/.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic