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

task: make LocalSet non-Send #2398

Merged
merged 1 commit into from
Apr 12, 2020
Merged

Conversation

Darksonn
Copy link
Contributor

If anyone knows of any other types that should be non-send or non-sync, please comment below so I can add them to the test. We can add Send+Sync types later.

Closes #2397.

@Darksonn Darksonn self-assigned this Apr 12, 2020
@carllerche carllerche merged commit 4fc2ada into tokio-rs:master Apr 12, 2020
@Darksonn Darksonn deleted the localset-fix branch April 12, 2020 21:56
@Darksonn Darksonn added A-tokio Area: The main tokio crate C-bug Category: This is a bug. I-unsound 💥 A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness M-task Module: tokio/task labels Apr 20, 2020
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 C-bug Category: This is a bug. I-unsound 💥 A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness M-task Module: tokio/task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LocalSet allows !Send futures to be moved between threads
2 participants