Re: Threads
- From: Roger Pack <rogerpack2005@xxxxxxxxx>
- Date: Fri, 17 Oct 2008 01:12:17 -0500
This does not work as I thought it would, that is it would spin off a
bunch of threads and every two seconds I would get a thread print the
simple line to the terminal.
So, what am I missing?
Try adding a Thread.abort_on_exception = true to the top.
Also note that if the "main" thread ever terminates then it kills all
other threads and ends the program
Cheers.
-=R
--
Posted via http://www.ruby-forum.com/.
.
- References:
- Threads
- From: Phy Prabab
- Threads
- Prev by Date: Re: I found way to protect Source Code! :)
- Next by Date: Re: Where does merb store the files for a new app?
- Previous by thread: Threads
- Next by thread: Re: Threads
- Index(es):
Relevant Pages
|