summaryrefslogtreecommitdiff
path: root/internal/process.h
diff options
context:
space:
mode:
authorSamuel Williams <[email protected]>2020-12-06 01:05:40 +1300
committerSamuel Williams <[email protected]>2021-09-22 18:50:26 +1200
commit7db021f83bc68420746835bb92fce9a5d5a93d9b ()
treeb4990c47f098448f04f55de6b99724473f1320a0 /internal/process.h
parentf8bf766877782468c4da8c1cecaf21ce9eac3684 (diff)
Add support for non-blocking `Kernel.system`.
Notes: Merged: https://.com/ruby/ruby/pull/4595
-rw-r--r--internal/process.h2
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,7 @@
#define RB_MAX_GROUPS (65536)
struct waitpid_state;
struct rb_execarg {
union {
struct {
@@ -56,6 +57,7 @@ struct rb_execarg {
unsigned gid_given : 1;
unsigned exception : 1;
unsigned exception_given : 1;
struct waitpid_state *waitpid_state; /* for async process management */
rb_pid_t pgroup_pgid; /* asis(-1), new pgroup(0), specified pgroup (0<V). */
VALUE rlimit_limits; /* Qfalse or [[rtype, softlim, hardlim], ...] */