summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-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()