Thread.new { Thread.stop }; Thread.stop

e$B0J2<$N%W%m%0%i%`$,=*N;$7$J$$$N$Oe(B 1.8 e$B$H0[$J$j$^$9!#e(B

% ./ruby -ve ‘Thread.new { Thread.stop }; Thread.stop’
ruby 1.9.0 (2008-05-22 revision 16533) [i686-linux]

1.8 e$B$G$Oe(B deadlock e$B$N8!=P$K$h$C$F=*N;$7$^$9!#e(B

% ruby-1.8 -ve ‘Thread.new { Thread.stop }; Thread.stop’
ruby 1.8.7 (2008-05-22 patchlevel 5000) [i686-linux]
deadlock 0xb7d770b4: sleep:- - -e:1
deadlock 0xb7d84250: sleep:- (main) - -e:1
-e:1:in `stop’: Thread(0xb7d84250): deadlock (fatal)
from -e:1

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs