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

Avoid double panic when queued_spawn is dropped #304

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

adrianheine
Copy link

@adrianheine adrianheine commented Mar 10, 2023

This is in the spirit of #297 on the quest to avoid double panics.

Edit: This is not only ›in the spirit of‹, it directly depends on it.

- ensure that global statics are dropped after thread locals
- ensure that `loom` does not panic inside a panic
- add two regression tests for tokio-rs#152
- ensure that loom doesn't double panic on deadlock
- add a test to verify that thread locals are properly destructed on spawned threads
@adrianheine
Copy link
Author

The CI failure is rust-lang/rust#108988.

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.

None yet

2 participants