From: Nathaniel Talbott Date: 2003-11-26T21:42:02+09:00 Subject: Re: ThreadError w/WEBrick 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? Nathaniel <:((><