diff options
Diffstat (limited to 'test/test_tempfile.rb')
-rw-r--r-- | test/test_tempfile.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_tempfile.rb b/test/test_tempfile.rb index 815c243753..8147d93f85 100644 --- a/test/test_tempfile.rb +++ b/test/test_tempfile.rb @@ -246,8 +246,8 @@ puts Tempfile.new('foo').path def test_concurrency threads = [] tempfiles = [] - lock = Mutex.new - cond = ConditionVariable.new + lock = Thread::Mutex.new + cond = Thread::ConditionVariable.new start = false 4.times do |