ruby-changes:35585
From: akr <ko1@a...>
Date: Sun, 21 Sep 2014 13:55:00 +0900 (JST)
Subject: [ruby-changes:35585] akr:r47667 (trunk): wait until the thread is stopped.
akr 2014-09-21 13:54:46 +0900 (Sun, 21 Sep 2014) New Revision: 47667 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47667 Log: wait until the thread is stopped. Modified files: trunk/bootstraptest/test_thread.rb Index: bootstraptest/test_thread.rb =================================================================== --- bootstraptest/test_thread.rb (revision 47666) +++ bootstraptest/test_thread.rb (revision 47667) @@ -85,7 +85,7 @@ assert_equal %q{ok}, %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_thread.rb#L85 ans = :ok end } - Thread.pass + Thread.pass until t.stop? t.kill t.join ans -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/