From: Justin Collins Date: 2006-08-22T08:56:03+09:00 Subject: Re: [BUG] thwait Ara.T.Howard wrote: > > i'm unsure if this should be expected to cause deadlock or not? > > ruby -r thwait -e' ThWait.all_waits(*Array.new(42){ > Thread.new{Thread.stop} }) ' > > for 1.8.1 - 1.8.4 it does. > > thoughts? > > -a Seems like it would. You create a bunch of threads, tell them not to run, then tell the main thread to wait on all the stopped threads. There's no way for this program to complete or continue. -Justin