From: Roger Pack Date: 2007-10-02T01:59:07+09:00 Subject: Re: deadlock in ThreadPool using backtick > It seems (in my opinion--haven't checked it out too closely yet) that > the problem is only caused when the shutdown method is 'in the mix'--you > might try rewriting it to create an array of all threads trying to enter > the pool [i.e. array of size 200] and then joining on each element of > the array > while !allThreadArray.empty? > nextThread = allThreadArray.shift > nextThread.join > end > > that type of thing. Attempting it with the latest patch level of ruby might help. -Roger -- Posted via http://www.ruby-forum.com/.