Hi,

2009/1/13 Yugui (Yuki Sonoda) <yugui / yugui.jp>:
> == #935 child process forked from child thread does not call ruby_cleanup
> < mame
> Is this still reproducible?  Or close the ticket.

Yes, it is.


> I cannot reproduce.

Really?  I expected the issue will occur in any environment.


$ cat t.rb
at_exit { p [:exit, $$] }
Thread.new { p [fork ? :parent : :child, $$] }
sleep 1

$ ruby18 -v t.rb
ruby 1.8.7 (2009-01-14 revision 21505) [i686-linux]
[:child, 30417]
[:exit, 30417]
[:parent, 30416]
[:exit, 30416]

$ ruby19 -v t.rb
ruby 1.9.1p5000 (2009-01-15 trunk 21529) [i686-linux]
[:child, 30421]
[:parent, 30418]
[:exit, 30418]

-- 
Yusuke ENDOH <mame / tsg.ne.jp>