Re:Ruby 3.0 and the new FiberScheduler interface
by hamandcheese on Wednesday December 30, 2020 @01:16AM
(#25579103)
Ruby already handles this for regular threads by setting a timer for how long one thread can hold the GVL, doesn’t it? Could the same thing work for fibers? I.e. could the ruby vm inject a yield into a running fiber after every 100ms?
[ Parent
| on HN ]
There are no comments on this comment yet.