[#108552] [Ruby master Bug#18782] Race conditions in autoload when loading the same feature with multiple threads. — "ioquatix (Samuel Williams)" <noreply@...>
Issue #18782 has been reported by ioquatix (Samuel Williams).
11 messages
2022/05/14
[ruby-core:108727] [Ruby master Feature#17370] Introduce non-blocking `Addrinfo.getaddrinfo` and related methods.
From:
"ioquatix (Samuel Williams)" <noreply@...>
Date:
2022-05-28 02:47:41 UTC
List:
ruby-core #108727
Issue #17370 has been updated by ioquatix (Samuel Williams).
This is working as expected, we have implemented it in the async gem.
----------------------------------------
Feature #17370: Introduce non-blocking `Addrinfo.getaddrinfo` and related methods.
https://bugs.ruby-lang.org/issues/17370#change-97778
* Author: ioquatix (Samuel Williams)
* Status: Assigned
* Priority: Normal
* Assignee: ioquatix (Samuel Williams)
----------------------------------------
We would like to introduce a new scheduler hook for non-blocking `getaddrinfo`.
```
class Scheduler
def address_resolve(...)
[array of addrinfo objects]
end
```
https://github.com/bruno-/ruby/pull/1
This is a work in progress.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>