summaryrefslogtreecommitdiff
path: root/lib/sync.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sync.rb')
-rw-r--r--lib/sync.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sync.rb b/lib/sync.rb
index ad6caf0743..c95343594f 100644
--- a/lib/sync.rb
+++ b/lib/sync.rb
@@ -261,7 +261,7 @@ module Sync_m
@sync_ex_locker = nil
@sync_ex_count = 0
- @sync_mutex = Mutex.new
+ @sync_mutex = Thread::Mutex.new
end
def initialize(*args)