diff options
author | Masaki Matsushita <[email protected]> | 2020-12-07 12:49:44 +0900 |
---|---|---|
committer | Masaki Matsushita <[email protected]> | 2020-12-07 13:33:53 +0900 |
commit | 5d8bcc4870601ab1ee05346346f241d4a805aac9 (patch) | |
tree | bcc2176902005a12c3b8acd416cc5920deb7e976 /include | |
parent | 1ba05f5b2d7b1701242023b5ac156b169f1ded90 (diff) |
Revert getaddrinfo_a()
getaddrinfo_a() gets stuck after fork().
To avoid this, we need 1 second sleep to wait for internal
worker threads of getaddrinfo_a() to be finished, but that is unacceptable.
[Bug #17220] [Feature #17134] [Feature #17187]
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/internal/intern/process.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/ruby/internal/intern/process.h b/include/ruby/internal/intern/process.h index fa920cd90a..2b1005a205 100644 --- a/include/ruby/internal/intern/process.h +++ b/include/ruby/internal/intern/process.h @@ -28,8 +28,6 @@ RBIMPL_SYMBOL_EXPORT_BEGIN() /* process.c */ -RUBY_EXTERN void (* rb_socket_before_fork_func)(); - void rb_last_status_set(int status, rb_pid_t pid); VALUE rb_last_status_get(void); int rb_proc_exec(const char*); |