diff options
author | Yusuke Endoh <[email protected]> | 2021-10-25 20:47:19 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-25 20:47:19 +0900 |
commit | 13068ebe32a7b8a1a9bd4fc2d5f157880b374e1d (patch) | |
tree | 63db2798edf5744f64f9a3e425cd994fd5d3f7bd /internal/process.h | |
parent | 1eac38c6093a03688c2f046cfb6a16028b9395f5 (diff) |
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 <[email protected]>
Notes
Notes:
Merged-By: mame <[email protected]>
Diffstat (limited to 'internal/process.h')
-rw-r--r-- | internal/process.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |