mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rb_thread_scheduler is no longer used
This commit is contained in:
parent
0e98a9c854
commit
0d37ed5fdc
1 changed files with 2 additions and 0 deletions
2
thread.c
2
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()
|
||||
|
|
Loading…
Add table
Reference in a new issue