From: Jordan McKible Date: 2006-09-28T03:04:38+09:00 Subject: Re: Threading and Deadlock Vincent Fourmond wrote: > class Filler > > def refill > ary = [pull the feeds] > for element in ar > queue << element > end > sleep... > end > end I don't think this is quite what I need. The worker threads should never exit - they should just sleep until the queue is refilled. It seems like this configuration could lead to the queue being filled up before it's completely depleated by workers. -- Posted via http://www.ruby-forum.com/.