On Jun 29, 2008, at 10:44 PM, barjunk wrote:

> I've been hunting around for information regarding threads, and to me,
> it seems confusing and conflicting.
>
> What I'm trying to find out is...if I was going to start using threads
> in Ruby, which version of Ruby should I be using.
>
> I've seen folks say that I should use Ruby 1.9 and others say that it
> is possible to use earlier versions.  Nothing that I found seemed
> definitive.
>
> I'm new to all this, so this may be part of the problem.
>
> What I'd like to accomplish is starting a main ruby instance, then
> launch threads from that instance that run in their own sandbox.
>
> At this point, I don't believe the threads need to talk with each
> other, but it seems I could use some form of message passing to
> accomplish this.
>
> Any ideas and direction would be helpful.  Thanks.
>
> Mike B.

for any situation you want processes.  use fork or systemu if you want  
it portable.  threads are not the way to get a sandbox.

cheers.

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama