From: Eero Saynatkari Date: 2006-08-22T09:17:19+09:00 Subject: Re: 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? Ruby has a pretty happy-go-lucky thread introspection methodology although it seems to always be correct. It can detect potential deadlocks pretty easily and will just bow out. Ran into it just using plain Threads some time back. > -a -- Posted via http://www.ruby-forum.com/.