diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-09-14 10:30:22 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-09-15 00:04:59 +0900 |
commit | f7ccb8dd88c52b2294742c3abb87098ee4076799 (patch) | |
tree | 22b4a10cce30cf227bc6354e9adab7c3a5284335 /vm_core.h | |
parent | edb5c67195129e1d10f329edb55e486e1874b20e (diff) |
restart Ractor.select on intterupt
signal can interrupt Ractor.select, but if there is no exception,
Ractor.select should restart automatically.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3534
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1836,6 +1836,7 @@ void rb_execution_context_update(const rb_execution_context_t *ec); void rb_execution_context_mark(const rb_execution_context_t *ec); void rb_fiber_close(rb_fiber_t *fib); void Init_native_thread(rb_thread_t *th); +int rb_vm_check_ints_blocking(rb_execution_context_t *ec); #define RUBY_VM_CHECK_INTS(ec) rb_vm_check_ints(ec) static inline void |