summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-01 13:45:20 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-01 13:45:20 +0900
commit0d37ed5fdcaa582aecb7a2aacdbb6eac806d7173 (patch)
treee66ca2944b7000eb34f0659e70861d25bedf431a
parent0e98a9c8546c99ccf74fbe176a46429dedde8f93 (diff)
rb_thread_scheduler is no longer used
-rw-r--r--thread.c2
1 files changed, 2 insertions, 0 deletions
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)
return th->scheduler;
}
+#if 0 // no longer used
/*
* call-seq:
* Thread.scheduler -> scheduler or nil
@@ -3788,6 +3789,7 @@ rb_thread_scheduler(VALUE klass)
{
return rb_thread_scheduler_if_nonblocking(rb_thread_current());
}
+#endif
VALUE
rb_thread_current_scheduler()