From: Joel VanderWerf Date: 2007-03-20T23:42:50+09:00 Subject: Re: [ANN] fastthread 1.0 MenTaLguY wrote: > Well, just when I thought I was out of the fastthread business... > > Okay, in brief: > > fastthread is a Ruby extension which re-implements the primitives in > Ruby's thread.rb in C. It was merged into 1.8.6, replacing the old > thread.rb implementation, but the version that was merged had a couple > serious bugs. > > So -- now I release fastthread 1.0, which is basically the Ruby 1.8.6 > version with the fixes applied. You can use it as a hotfix for 1.8.6 > until the next 1.8.x version is released, and of course it should still > work for speeding up older versions of 1.8 as well. > > Gems and source are available via the mongrel RubyForge project: > > http://rubyforge.org/frs/?group_id=1306 > > Let me know if you guys have any more problems. > > -mental The hot fix installed ok and your tests pass, but compilation had a (probably insignificant) warning: fastthread.c: In function �wait_condvar�: fastthread.c:626: warning: passing argument 1 of �rb_ensure� from incompatible pointer type This is gcc 4.1.2 on linux. Do you happen to have a test case that reproduces the problems in the pre 1.0? Is there something ruby code can easily do (easier than running the test case, that is) to detect whether it is running with the patched fastthread or the buggy one? -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407