[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-cvs
Subject: [ruby-cvs:90845] =?utf-8?q?1c426ddb25_=28ruby=5F3=5F1=29=3A_merge_revision=28s=29?=
From: "NARUSE, Yui" <naruse () airemix ! jp>
Date: 2022-01-31 10:23:44
Message-ID: 20220131102344.3F72560A0D () svn ! ruby-lang ! org
[Download RAW message or body]
NARUSE, Yui 2022-01-31 19:22:28 +0900 (Mon, 31 Jan 2022)
New Revision: 1c426ddb25
https://github.com/ruby/ruby/commit/1c426ddb25
Log:
merge revision(s) 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17686=
d49c2ce8e6a87039861154e93d4621: [Backport #18497]
=
Assuming EXIT_SUCCESS equals 0 is not portable
=
---
test/ruby/test_fiber.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
=
`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.
---
cont.c | 3 ++-
eval_intern.h | 2 +-
test/fiber/test_process.rb | 15 +++++++++++++++
test/ruby/test_fiber.rb | 5 +++++
4 files changed, 23 insertions(+), 2 deletions(-)
Modified files:
cont.c
eval_intern.h
test/fiber/test_process.rb
test/ruby/test_fiber.rb
version.h=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic