[Mongrel] fastthread -- what is it?
mental at rydia.net
Thu Jan 4 13:07:52 EST 2007
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. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20070104/f04caf75/attachment.bin
More information about the Mongrel-users