Skip to content

Commit

Permalink
rb_thread_scheduler is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Oct 1, 2020
1 parent 0e98a9c commit 0d37ed5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thread.c
Expand Up @@ -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
Expand All @@ -3788,6 +3789,7 @@ rb_thread_scheduler(VALUE klass)
{
return rb_thread_scheduler_if_nonblocking(rb_thread_current());
}
#endif

VALUE
rb_thread_current_scheduler()
Expand Down

0 comments on commit 0d37ed5

Please sign in to comment.