summaryrefslogtreecommitdiff
path: root/ext/digest/lib/digest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest/lib/digest.rb')
-rw-r--r--ext/digest/lib/digest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/lib/digest.rb b/ext/digest/lib/digest.rb
index d6daf36f805..ba0637af32c 100644
--- a/ext/digest/lib/digest.rb
+++ b/ext/digest/lib/digest.rb
@@ -3,7 +3,7 @@ require 'digest.so'
module Digest
# A mutex for Digest().
- REQUIRE_MUTEX = Mutex.new
+ REQUIRE_MUTEX = Thread::Mutex.new
def self.const_missing(name) # :nodoc:
case name