diff options
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3749,6 +3749,12 @@ rb_thread_scheduler(VALUE klass) return rb_thread_scheduler_if_nonblocking(rb_thread_current()); } +static VALUE +rb_thread_current_scheduler() +{ + return rb_thread_scheduler_if_nonblocking(rb_thread_current()); +} + VALUE rb_thread_scheduler_if_nonblocking(VALUE thread) { |