ext/gyro/thread.c in polyphony-0.34 vs ext/gyro/thread.c in polyphony-0.36
- old
+ new
@@ -225,10 +225,10 @@
Gyro_Selector_post_fork(selector);
return self;
}
-VALUE Fiber_await() {
+VALUE Gyro_switchpoint() {
VALUE thread = rb_thread_current();
Thread_ref(thread);
VALUE ret = Thread_switch_fiber(thread);
Thread_unref(thread);
RB_GC_GUARD(ret);