ruby-changes:4642
From: ko1@a...
Date: Tue, 22 Apr 2008 13:27:08 +0900 (JST)
Subject: [ruby-changes:4642] matz - Ruby:r16136 (trunk): * thread.c (rb_thread_stop_timer_thread): should clear
matz 2008-04-22 13:26:44 +0900 (Tue, 22 Apr 2008) New Revision: 16136 Modified files: trunk/ChangeLog trunk/bootstraptest/test_knownbug.rb trunk/bootstraptest/test_thread.rb trunk/thread.c Log: * thread.c (rb_thread_stop_timer_thread): should clear timer_thread_id after stopping it. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16136&r2=16135&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/thread.c?r1=16136&r2=16135&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_thread.rb?r1=16136&r2=16135&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=16136&r2=16135&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 16135) +++ ChangeLog (revision 16136) @@ -1,3 +1,8 @@ +Tue Apr 22 13:19:48 2008 Yukihiro Matsumoto <matz@r...> + + * thread.c (rb_thread_stop_timer_thread): should clear + timer_thread_id after stopping it. + Tue Apr 22 13:12:58 2008 Nobuyoshi Nakada <nobu@r...> * thread.c (thread_join): remove the current thread from the join list Index: bootstraptest/test_knownbug.rb =================================================================== --- bootstraptest/test_knownbug.rb (revision 16135) +++ bootstraptest/test_knownbug.rb (revision 16136) @@ -155,7 +155,3 @@ :ng end }, "[ruby-dev:34236]" - -assert_normal_exit %q{ - exec "/" -} Index: bootstraptest/test_thread.rb =================================================================== --- bootstraptest/test_thread.rb (revision 16135) +++ bootstraptest/test_thread.rb (revision 16136) @@ -229,3 +229,8 @@ end th.join } + +assert_normal_exit %q{ + STDERR.reopen(STDOUT) + exec "/" +} Index: thread.c =================================================================== --- thread.c (revision 16135) +++ thread.c (revision 16136) @@ -2008,6 +2008,7 @@ if (timer_thread_id) { system_working = 0; native_thread_join(timer_thread_id); + timer_thread_id = 0; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/