Nathaniel Talbott [mailto:nathaniel / NOSPAMtalbott.ws] wrote: > ts [mailto:decoux / moulon.inra.fr] wrote: > > > N> - Can someone give me an explanation of what "ThreadError: > > stopping > > N> only thread" means? What is the general case that causes > > this error > > N> to be raised? > > > > svg% ruby -e 'Thread.new { Thread.stop }' > > svg% > > > > svg% ruby -e 'Thread.stop' > > -e:1:in `stop': stopping only thread (ThreadError) > > note: use sleep to stop forever from -e:1 > > svg% > > Interesting... so, if calling Thread#stop causes an error, > why is it called from thread.rb line 276? Why does it even exist? <slaps forehead> Ah, I see... Thread.stop raises an error if it is called when there is only one thread. So, it seems that a good line of investigation would be finding out why all the threads are dead, eh? Thanks Guy, Nathaniel <:((><