[Ironruby-core] Problems with Mutex and ConditionVariable under IronRuby

2009-01-02 Thread Daniele Alessandri
Hello, I was playing with threads under IronRuby but it seems like I have stumbled on problems with Mutex and ConditionVariable. At first I thought the problem was related to my code even if it actually worked flawlessy for months under MRI 1.8.6 and it runs fine under the latest JRuby, so I tried

Re: [Ironruby-core] Problems with Mutex and ConditionVariable under IronRuby

2009-01-02 Thread Curt Hagenlocher
It looks like ConditionVariable.wait isn't implemented in a way that's consistent with the spec. Please file a bug report on RubyForge. I'm a bit surprised by the semantics of this class. It doesn't appear possible to use it safely unless there's at least one additional level of locking. -

Re: [Ironruby-core] Problems with Mutex and ConditionVariable under IronRuby

2009-01-02 Thread Daniele Alessandri
On Fri, Jan 2, 2009 at 17:56, Curt Hagenlocher wrote: > It looks like ConditionVariable.wait isn't implemented in a way that's > consistent with the spec. Please file a bug report on RubyForge. Bug report filed. While I was at it, I filed another bug report about potential multithreading issue

Re: [Ironruby-core] Problems with Mutex and ConditionVariable under IronRuby

2009-01-02 Thread Curt Hagenlocher
Thanks for a very detailed bug report! -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Daniele Alessandri Sent: Friday, January 02, 2009 11:40 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problems wi

Re: [Ironruby-core] Code Review: rakecrossplatform

2009-01-02 Thread Jim Deville
Committing with Michael's suggestion. JD From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Michael Letterle Sent: Wednesday, December 31, 2008 8:23 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Code Review: rakecrossplatform By