summaryrefslogtreecommitdiff
path: root/test/socket/test_unix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/socket/test_unix.rb')
-rw-r--r--test/socket/test_unix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb
index 3fe7fb368b..7edb5e5d4f 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -142,7 +142,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
r1, w = IO.pipe
s1, s2 = UNIXSocket.pair
s1.nonblock = s2.nonblock = true
- lock = Mutex.new
+ lock = Thread::Mutex.new
nr = 0
x = 2
y = 1000