From: David Masover Date: 2009-12-05T13:55:15+09:00 Subject: Re: how about ruby's threads? On Friday 04 December 2009 09:39:33 pm Ruby Newbee wrote: > Is ruby's threads safe enough? What do you mean by "safe"? > Once I used perl for programming a lot, but perl's threads is not so > nice, What was wrong with them? > and modperl's threads is not safe. What wasn't safe about them? I'm really not sure how to answer this question. On the one hand, I can say that Ruby threads are probably about as "safe" as Perl threads, or Python threads, or any threads, in ANY language. It depends whether a specific library or application is threadsafe -- for example, you mentioned mod_perl. That is really more mod_perl's fault, not so much Perl's fault. On the other hand, no threads are safe, really -- in ANY language. Look into other concurrency models, like actors, processes, or events.