Skip to content
  • Nobuyoshi Nakada's avatar
    d650b176
    `rb_fiber_terminate` must not return [Bug #18497] · d650b176
    Nobuyoshi Nakada authored
    In a forked process from a fiber, the fiber becomes the only
    fiber, `fiber_switch` does nothing as there is no other fibers,
    `rb_fiber_terminate` does not terminate the fiber.  In that case,
    reaches the end of `fiber_entry` finaly, which is declared as
    "COROUTINE" and should never return.
    d650b176
    `rb_fiber_terminate` must not return [Bug #18497]
    Nobuyoshi Nakada authored
    In a forked process from a fiber, the fiber becomes the only
    fiber, `fiber_switch` does nothing as there is no other fibers,
    `rb_fiber_terminate` does not terminate the fiber.  In that case,
    reaches the end of `fiber_entry` finaly, which is declared as
    "COROUTINE" and should never return.
Loading