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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better error message when spawning blocking threads #4398

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

the10thWiz
Copy link
Contributor

In SergioBenitez/Rocket/issues/2031, an issue was encountered where the OS could not spawn new blocking worker threads. This PR adds a more clear error message to the panic.

@github-actions github-actions bot added the R-loom Run loom tests on this PR label Jan 12, 2022
@Darksonn Darksonn added A-tokio Area: The main tokio crate M-runtime Module: tokio/runtime and removed R-loom Run loom tests on this PR labels Jan 12, 2022
@Darksonn Darksonn merged commit 089eeae into tokio-rs:master Jan 12, 2022
@the10thWiz the10thWiz deleted the spawn-error-message branch January 20, 2022 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-runtime Module: tokio/runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants