Sync RubyGems and Bundler with upstream

This commit is contained in:
Hiroshi SHIBATA 2021-07-07 14:07:29 +09:00
parent 6e2240a2f9
commit c082c6eb7c
Notes: git 2021-07-07 15:32:14 +09:00
52 changed files with 477 additions and 466 deletions

View file

@ -11,10 +11,10 @@ module CoreExtensions
IPV4_DELAY_SECONDS = 0.1
def initialize(host, serv, *rest)
mutex = Mutex.new
mutex = Thread::Mutex.new
addrs = []
threads = []
cond_var = ConditionVariable.new
cond_var = Thread::ConditionVariable.new
Addrinfo.foreach(host, serv, nil, :STREAM) do |addr|
Thread.report_on_exception = false if defined? Thread.report_on_exception = ()