logo       

Re: fastthread -- what is it?: msg#00037

lang.ruby.mongrel.general

Subject: Re: fastthread -- what is it?

On Thu, 2007-01-04 at 07:05 -0800, Zed A. Shaw wrote:
> What mentalguy did is re-create all of the Ruby thread locking gear in
> a C extension called fastthread. With fastthread we can provide a
> modest speed boost as well as fix the memory leaks Ruby has by just
> including a gem. He's pushing for it to become the new thread locking
> api in Ruby, so hopefully he can get it in without much fuss.

Interestingly, the original reason for fastthread was to help wean
people off of Thread.critical/Thread.exclusive by making
Mutex#lock/Mutex#synchronized competitive with it performance-wise.

Fixing the memory leaks was a rather fortunate side-effect. :)

-mental

Attachment: signature.asc
Description: This is a digitally signed message part



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise