summaryrefslogtreecommitdiff
path: root/lib/shell.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-30 06:22:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-30 06:22:30 +0000
commit4b298ad77a8388f0aae62daeca66659a8effeade (patch)
tree163674f4123bf461a86b4f6fd1de964297057bae /lib/shell.rb
parent0df79477bd2cd534ad2d89bfdbf9708c64b59eed (diff)
Use qualified names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell.rb')
-rw-r--r--lib/shell.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/shell.rb b/lib/shell.rb
index 8216eb2862..b0bdc8194f 100644
--- a/lib/shell.rb
+++ b/lib/shell.rb
@@ -12,8 +12,6 @@
require "e2mmap"
-require "thread" unless defined?(Mutex)
-
require "forwardable"
require "shell/error"
@@ -100,7 +98,7 @@ class Shell
@debug_display_process_id = false
@debug_display_thread_id = true
- @debug_output_mutex = Mutex.new
+ @debug_output_mutex = Thread::Mutex.new
class << Shell
extend Forwardable