ruby-changes:19981
From: seki <ko1@a...>
Date: Sun, 12 Jun 2011 23:40:28 +0900 (JST)
Subject: [ruby-changes:19981] seki:r32028 (trunk): lib/drb/drb.rb (kill_sub_thread): remove the method.
seki 2011-06-12 23:40:15 +0900 (Sun, 12 Jun 2011) New Revision: 32028 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32028 Log: lib/drb/drb.rb (kill_sub_thread): remove the method. [ruby-core:34185] Modified files: trunk/ChangeLog trunk/lib/drb/drb.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 32027) +++ ChangeLog (revision 32028) @@ -1,3 +1,7 @@ +Sun Jun 12 23:36:46 2011 Masatoshi SEKI <m_seki@m...> + + * lib/drb/drb.rb (kill_sub_thread): remove the method. [ruby-core:34185] + Sun Jun 12 21:01:56 2011 Tadayoshi Funaba <tadf@d...> * ext/date/date_core.c (d_lite_marshal_load): should give converted value. Index: lib/drb/drb.rb =================================================================== --- lib/drb/drb.rb (revision 32027) +++ lib/drb/drb.rb (revision 32028) @@ -1412,20 +1412,6 @@ end private - def kill_sub_thread - Thread.new do - grp = ThreadGroup.new - grp.add(Thread.current) - list = @grp.list - while list.size > 0 - list.each do |th| - th.kill if th.alive? - end - list = @grp.list - end - end - end - def run Thread.start do begin @@ -1434,7 +1420,6 @@ end ensure @protocol.close if @protocol - kill_sub_thread end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/