From 5f69a7f60467fa58c2f998daffab43e118bff36c Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Tue, 9 Feb 2021 19:39:56 +1300 Subject: Expose scheduler as public interface & bug fixes. (#3945) * Rename `rb_scheduler` to `rb_fiber_scheduler`. * Use public interface if available. * Use `rb_check_funcall` where possible. * Don't use `unblock` unless the fiber was non-blocking. --- inits.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inits.c') diff --git a/inits.c b/inits.c index d2c99ed495..185f14b820 100644 --- a/inits.c +++ b/inits.c @@ -65,7 +65,7 @@ rb_call_inits(void) CALL(VM); CALL(ISeq); CALL(Thread); - CALL(Scheduler); + CALL(Fiber_Scheduler); CALL(process); CALL(Cont); CALL(Rational); -- cgit v1.2.3