summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-28 23:01:53 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-29 11:41:10 +0900
commit9eae8cdefba61e9e51feb30a4b98525593169666 (patch)
treeb54d8502f7e7733e48c798e517f7676bf0395a51 /sample
parent983c9ad3f197ab8612c08ea894765b43ed089749 (diff)
downloadruby-9eae8cdefba61e9e51feb30a4b98525593169666.tar.gz
Prefer qualified names under Thread
Diffstat (limited to 'sample')
-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