summaryrefslogtreecommitdiff
path: root/sample/drb/dhasen.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/dhasen.rb')
-rw-r--r--sample/drb/dhasen.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/drb/dhasen.rb b/sample/drb/dhasen.rb
index 651b9c6..9ab8534 100644
--- a/sample/drb/dhasen.rb
+++ b/sample/drb/dhasen.rb
@@ -23,7 +23,7 @@ class Dhasen
include DRbUndumped
def initialize
- @mutex = Mutex.new
+ @mutex = Thread::Mutex.new
end
def sparse(str, *arg)