Ruby: ext/fiber/fiber.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions
fiber.c File Reference

Go to the source code of this file.

## Functions
void | ruby_Init_Fiber_as_Coroutine (void)
void | Init_fiber (void)

## Function Documentation

## ◆ Init_fiber()

void Init_fiber | ( | void |  | ) |

Definition at line 5 of file fiber.c.

References ruby_Init_Fiber_as_Coroutine().

## ◆ ruby_Init_Fiber_as_Coroutine()

void ruby_Init_Fiber_as_Coroutine | ( | void |  | ) |

Definition at line 3122 of file cont.c.

References rb_define_method, rb_define_singleton_method, rb_ext_ractor_safe(), and rb_fiber_alive_p().

Referenced by Init_fiber().