ruby-changes:63240
From: Nobuyoshi <ko1@a...>
Date: Thu, 1 Oct 2020 13:53:29 +0900 (JST)
Subject: [ruby-changes:63240] 0d37ed5fdc (master): rb_thread_scheduler is no longer used
https://git.ruby-lang.org/ruby.git/commit/?id=0d37ed5fdc From 0d37ed5fdcaa582aecb7a2aacdbb6eac806d7173 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 1 Oct 2020 13:45:20 +0900 Subject: rb_thread_scheduler is no longer used diff --git a/thread.c b/thread.c index 3aca71d..81172dc 100644 --- a/thread.c +++ b/thread.c @@ -3775,6 +3775,7 @@ rb_thread_scheduler_set(VALUE thread, VALUE scheduler) https://github.com/ruby/ruby/blob/trunk/thread.c#L3775 return th->scheduler; } +#if 0 // no longer used /* * call-seq: * Thread.scheduler -> scheduler or nil @@ -3788,6 +3789,7 @@ rb_thread_scheduler(VALUE klass) https://github.com/ruby/ruby/blob/trunk/thread.c#L3789 { return rb_thread_scheduler_if_nonblocking(rb_thread_current()); } +#endif VALUE rb_thread_current_scheduler() -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/