diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 06:22:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 06:22:30 +0000 |
commit | 7e24aacf8bd3f6bc45ba7d42263d70dae33d5b24 (patch) | |
tree | 163674f4123bf461a86b4f6fd1de964297057bae /lib/monitor.rb | |
parent | f48dbbf07455ee4362003c8ecc19612a4d6769d4 (diff) | |
download | ruby-7e24aacf8bd3f6bc45ba7d42263d70dae33d5b24.tar.gz |
Use qualified names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/monitor.rb')
-rw-r--r-- | lib/monitor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/monitor.rb b/lib/monitor.rb index 73741f8ddb..3ded0b3658 100644 --- a/lib/monitor.rb +++ b/lib/monitor.rb @@ -153,7 +153,7 @@ module MonitorMixin def initialize(monitor) @monitor = monitor - @cond = ::ConditionVariable.new + @cond = Thread::ConditionVariable.new end end @@ -241,7 +241,7 @@ module MonitorMixin def mon_initialize @mon_owner = nil @mon_count = 0 - @mon_mutex = Mutex.new + @mon_mutex = Thread::Mutex.new end def mon_check_owner |