From 13068ebe32a7b8a1a9bd4fc2d5f157880b374e1d Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Mon, 25 Oct 2021 20:47:19 +0900 Subject: process.c: Add Process._fork (#5017) * process.c: Add Process._fork This API is supposed for application monitoring libraries to hook fork event. [Feature #17795] Co-authored-by: Nobuyoshi Nakada --- internal/process.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/process.h b/internal/process.h index 75e7db5b42..ceadfdcbbb 100644 --- a/internal/process.h +++ b/internal/process.h @@ -75,7 +75,7 @@ struct rb_execarg { }; /* process.c */ -rb_pid_t rb_fork_ruby(int *status); +rb_pid_t rb_call_proc__fork(void); void rb_last_status_clear(void); static inline char **ARGVSTR2ARGV(VALUE argv_str); static inline size_t ARGVSTR2ARGC(VALUE argv_str); -- cgit v1.2.1