summaryrefslogtreecommitdiff
path: root/test/ruby/test_thread.rb
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_thread.rb1
1 files changed, 1 insertions, 0 deletions
@@ -280,6 +280,7 @@ class TestThread < Test::Unit::TestCase
s += 1
end
Thread.pass until t.stop?
assert_equal(1, s)
t.wakeup
Thread.pass while t.alive?