diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-20 13:54:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-20 13:54:59 +0000 |
commit | 1e42030f2a5518956c234a32c6c6cf1655519940 (patch) | |
tree | bfca0af19918d3b9bac39b2e493a8cbe85c62d35 /lib/thread.rb | |
parent | ded27bf5dc25d61c1483ae2a79570b1435c8348b (diff) |
test_thread: test_condvar_wait_not_owner duplicates test_condvar_nolock
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/thread.rb')
-rw-r--r-- | lib/thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.rb b/lib/thread.rb index 524db69a18..88e86ab2e1 100644 --- a/lib/thread.rb +++ b/lib/thread.rb @@ -82,7 +82,7 @@ class ConditionVariable # def signal begin - t = @waiters_mutex.synchronize { @waiters.shift } + t = @waiters_mutex.synchronize {@waiters.shift} t.run if t rescue ThreadError retry |