summaryrefslogtreecommitdiff
path: root/sample/drb/dchats.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/dchats.rb')
-rw-r--r--sample/drb/dchats.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/drb/dchats.rb b/sample/drb/dchats.rb
index 58af3cf005..c96486a452 100644
--- a/sample/drb/dchats.rb
+++ b/sample/drb/dchats.rb
@@ -28,7 +28,7 @@ end
class ChatServer
def initialize
- @mutex = Mutex.new
+ @mutex = Thread::Mutex.new
@members = {}
end