mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Sync RubyGems and Bundler with upstream
This commit is contained in:
parent
6e2240a2f9
commit
c082c6eb7c
Notes:
git
2021-07-07 15:32:14 +09:00
52 changed files with 477 additions and 466 deletions
|
@ -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 = ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue