summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-09-14 10:30:22 +0900
committerKoichi Sasada <ko1@atdot.net>2020-09-15 00:04:59 +0900
commitf7ccb8dd88c52b2294742c3abb87098ee4076799 (patch)
tree22b4a10cce30cf227bc6354e9adab7c3a5284335 /vm_core.h
parentedb5c67195129e1d10f329edb55e486e1874b20e (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 70714420f2..1d869617b6 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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