From: "D. Deryl Downey" Date: 2013-02-15T23:44:45+09:00 Subject: Re: Ruby Multithreaded producer-consumer problem --f46d04083f2d3764fe04d5c46a92 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Can you show the MonitorMixin complete error? I=92m finding it interesting that its still deadlocking with MM in place. Not sure I have a solution, but before I broach it, I=92d like to see the full trace if possible. -- D. Deryl Downey "The bug which you would fright me with I seek" - William Shakespeare - The Winter's Tale, Act III, Scene II - A court of Justice. *From:* Abhijit Sarkar *Sent:* February 14, 2013 10:09 PM *To:* ruby-talk ML *Subject:* Re: Ruby Multithreaded producer-consumer problem I rewrote the code using MonitorMixin and then back to using Mutex, same result. I used 2 ConditionVariable, same result :( If it's not working, it's certainly not for the lack of trying. Attachments: http://www.ruby-forum.com/attachment/8132/orange_tree.rb -- Posted via http://www.ruby-forum.com/. --f46d04083f2d3764fe04d5c46a92 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Can you show the MonitorMixin complete error? I=92m finding it interes= ting that its still deadlocking with MM in place. Not sure I have a solutio= n, but before I broach it, I=92d like to see the full trace if possible.
=A0
--
D. Deryl Downey

=A0"The bug which= you would fright me with I seek" - William Shakespeare - The Winter&#= 39;s Tale, Act III, Scene II - A court of Justice.
=A0
From:=A0Abhijit Sarkar <lists@ruby-forum.com>
Sent:=A0Febru= ary 14, 2013 10:09 PM
To:=A0ruby-talk ML <ruby-talk@ruby-lang.org>
Subject:=A0Re: Ruby Multithreaded producer-consumer prob= lem
=A0
I rewrote the code using MonitorMixin and then= back to using Mutex, same
result. I used 2 ConditionVariable, same result :( If it's not working,=
it's certainly not for the lack of trying.

Attachments:
http://www.ruby-forum.com/attachment/8132/orang= e_tree.rb


--
Posted via http://www.ruby-forum.com/.

--f46d04083f2d3764fe04d5c46a92--