From: nobu.nokada@... Date: 2002-05-28T00:21:14+09:00 Subject: Re: SizedQueue.new(0) Hi, At Mon, 27 May 2002 22:41:59 +0900, Michael Neumann wrote: > The problem lies in thread.rb, method SizedQuere#push. It loops as long as > @que.length >= @max. For @max=0 this is an infinite loop, I guess. I guess it should be: Index: thread.rb =================================================================== RCS file: /cvs/ruby/src/ruby/lib/thread.rb,v retrieving revision 1.11 diff -u -2 -p -r1.11 thread.rb --- thread.rb 2001/05/16 09:05:54 1.11 +++ thread.rb 2002/05/27 15:19:40 @@ -216,4 +216,5 @@ end class SizedQueue 0 @max = max @queue_wait = [] -- Nobu Nakada