diff options
author | Luke Gruber <[email protected]> | 2025-05-29 11:40:57 -0400 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2025-05-29 12:51:43 -0400 |
commit | 5b3f1c4c51480cbdbd1ace92b1767f14f9fff280 () | |
tree | 07e061dc9146978dcd3c4550884b56ed27101b57 /class.c | |
parent | 38ecaca15544644e68eed8a0f5a86c8567ce9269 (diff) |
Take VM lock around manipulation of fiber pool for vacant stacks
When creating fibers in multiple ractors at the same time there were issues with the manipulation of this structure, causing segfaults. I didn't add any tests for this because I'm making a more general PR in the very near future to be able to run test methods (test-all suite) inside multiple ractors at the same time. This is how this bug was caught, running test/ruby/test_fiber.rb inside 10 ractors at once.
Notes: Merged: https://.com/ruby/ruby/pull/13466
0 files changed, 0 insertions, 0 deletions