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

Use the loom mutex wrapper everywhere #3958

Merged
merged 2 commits into from Jul 20, 2021
Merged

Use the loom mutex wrapper everywhere #3958

merged 2 commits into from Jul 20, 2021

Conversation

Darksonn
Copy link
Contributor

We have wrappers around std::sync::Mutex in crate::loom that disable poisoning for the mutex. This PR changes various parts of the codebase to use the mutex wrapper.

I also deleted the unused tokio/src/runtime/shell.rs file.

@Darksonn Darksonn added the A-tokio Area: The main tokio crate label Jul 14, 2021
@Darksonn Darksonn merged commit 549e89e into master Jul 20, 2021
@Darksonn Darksonn deleted the use-loom-mutex branch July 20, 2021 10:12
sthagen added a commit to sthagen/tokio-rs-tokio that referenced this pull request Jul 20, 2021
chore: use the loom mutex wrapper everywhere (tokio-rs#3958)
@Darksonn Darksonn mentioned this pull request Jul 22, 2021
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants