socketry / io-event

MIT License
66 stars 15 forks source link

Correctly pass through flags `rb_process_status_wait`. #81

Closed ioquatix closed 1 year ago

ioquatix commented 1 year ago

rb_process_status_wait is not exposed yet in CRuby, but when/if it is, it will take a flags argument.

WNOHANG should always be set, as it's used to (efficiently) by-pass the fiber scheduler.

Types of Changes

Contribution

ioquatix commented 1 year ago

See https://github.com/ruby/ruby/pull/8316 for more context.