[前][次][番号順一覧][スレッド一覧]

ruby-changes:29224

From: akr <ko1@a...>
Date: Thu, 13 Jun 2013 18:55:19 +0900 (JST)
Subject: [ruby-changes:29224] akr:r41276 (trunk): * test/ruby/test_thread.rb (test_thread_local_security): Don't create

akr	2013-06-13 18:54:02 +0900 (Thu, 13 Jun 2013)

  New Revision: 41276

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41276

  Log:
    * test/ruby/test_thread.rb (test_thread_local_security): Don't create
      an unused thread.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_thread.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41275)
+++ ChangeLog	(revision 41276)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun 13 18:53:14 2013  Tanaka Akira  <akr@f...>
+
+	* test/ruby/test_thread.rb (test_thread_local_security): Don't create
+	  an unused thread.
+
 Thu Jun 13 18:34:20 2013  Tanaka Akira  <akr@f...>
 
 	* bignum.c (bigdivrem): Use nlz.
Index: test/ruby/test_thread.rb
===================================================================
--- test/ruby/test_thread.rb	(revision 41275)
+++ test/ruby/test_thread.rb	(revision 41276)
@@ -382,8 +382,6 @@ class TestThread < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_thread.rb#L382
   end
 
   def test_thread_local_security
-    t = Thread.new { sleep }
-
     assert_raise(RuntimeError) do
       Thread.new do
         Thread.current[:foo] = :bar

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]