Skip to content

Handle spurious wakeups in Thread#join. #13532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

samuel-williams-shopify
Copy link
Contributor

@samuel-williams-shopify samuel-williams-shopify commented Jun 5, 2025

Extracted from #13437.

The fiber scheduler, if interrupted, could return to the caller before the thread was joined.

@samuel-williams-shopify samuel-williams-shopify force-pushed the thread-join-scheduler-fixes branch from 7cda471 to 3648725 Compare June 5, 2025 21:46
@ioquatix ioquatix force-pushed the thread-join-scheduler-fixes branch from 3648725 to 8fea0ed Compare June 5, 2025 22:04
Copy link

launchable-app bot commented Jun 5, 2025

Tests Failed

✖️no tests failed ✔️61970 tests passed(4 flakes)

@ioquatix ioquatix merged commit f0cf4dc into ruby:master Jun 6, 2025
82 checks passed
@ioquatix ioquatix deleted the thread-join-scheduler-fixes branch June 6, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants