mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add rb_thread_current_scheduler()
.
This commit is contained in:
parent
a9ccebbda0
commit
703e529751
Notes:
git
2020-09-14 13:44:40 +09:00
2 changed files with 10 additions and 2 deletions
|
@ -37,9 +37,11 @@ void rb_mutex_allow_trap(VALUE self, int val);
|
|||
VALUE rb_uninterruptible(VALUE (*b_proc)(VALUE), VALUE data);
|
||||
VALUE rb_mutex_owned_p(VALUE self);
|
||||
|
||||
VALUE rb_thread_scheduler_get(VALUE);
|
||||
VALUE rb_thread_scheduler_set(VALUE, VALUE);
|
||||
VALUE rb_thread_scheduler_get(VALUE thread);
|
||||
VALUE rb_thread_scheduler_set(VALUE thread, VALUE scheduler);
|
||||
|
||||
VALUE rb_thread_scheduler_if_nonblocking(VALUE thread);
|
||||
VALUE rb_thread_current_scheduler();
|
||||
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
/* Temporary. This API will be removed (renamed). */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue