summaryrefslogtreecommitdiff
path: root/internal/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/thread.h')
-rw-r--r--internal/thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/thread.h b/internal/thread.h
index ac09923be0..91626b7e76 100644
--- a/internal/thread.h
+++ b/internal/thread.h
@@ -37,6 +37,10 @@ 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_if_nonblocking(VALUE thread);
+
RUBY_SYMBOL_EXPORT_BEGIN
/* Temporary. This API will be removed (renamed). */
VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd);