Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: init schedulers before we spawn fibers #14339

Conversation

ysbaddaden
Copy link
Contributor

The signal and interrupt handlers spawn fibers, and should thus be setup after we properly start the fiber schedulers.

This is working today because we lazily start schedulers for a thread, and we happen to not have recursive dependencies, but crystal-lang/rfcs#2 is a whole different story 馃槄

The signal and interrupt handlers spawn fibers, and should thus be
setup after we properly start the fiber schedulers...

This is only working today because we lazily start schedulers for a
thread, and we don't have any dual dependencies.
@straight-shoota straight-shoota added this to the 1.12.0 milestone Feb 29, 2024
@ysbaddaden ysbaddaden merged commit ee70ebb into crystal-lang:master Mar 1, 2024
57 checks passed
@ysbaddaden ysbaddaden deleted the fix/setup-schedulers-before-we-start-spawning branch March 1, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants