summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasaki Matsushita <glass.saga@gmail.com>2020-12-07 12:49:44 +0900
committerMasaki Matsushita <glass.saga@gmail.com>2020-12-07 13:33:53 +0900
commit5d8bcc4870601ab1ee05346346f241d4a805aac9 (patch)
treebcc2176902005a12c3b8acd416cc5920deb7e976 /include
parent1ba05f5b2d7b1701242023b5ac156b169f1ded90 (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.h2
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*);