diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-19 16:01:45 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-19 19:57:16 +0900 |
commit | d650b17686d49c2ce8e6a87039861154e93d4621 (patch) | |
tree | d118492480903dfa666ca3c407cc0e6c9698c8aa /thread_pthread.c | |
parent | 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c (diff) | |
download | ruby-d650b17686d49c2ce8e6a87039861154e93d4621.tar.gz |
`rb_fiber_terminate` must not return [Bug #18497]
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.
Diffstat (limited to 'thread_pthread.c')
0 files changed, 0 insertions, 0 deletions