-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Tracking Issue for sync_poison_mod
#134646
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
Comments
I propose using Also, |
Move some things to `std::sync::poison` and reexport them in `std::sync` Tracking issue: rust-lang#134646 r? `@tgross35` I've used `sync_poison_mod` feature flag instead, because `sync_poison` had already been used back in 1.2.
Move some things to `std::sync::poison` and reexport them in `std::sync` Tracking issue: rust-lang#134646 r? `@tgross35` I've used `sync_poison_mod` feature flag instead, because `sync_poison` had already been used back in 1.2.
Move some things to `std::sync::poison` and reexport them in `std::sync` Tracking issue: rust-lang#134646 r? `@tgross35` I've used `sync_poison_mod` feature flag instead, because `sync_poison` had already been used back in 1.2. try-job: x86_64-msvc
The OP needs to be updated, since #134692 got merged. I believe the implementation is now finished, and the feature gate is actually |
sync_poison
sync_poison_mod
Move some things to `std::sync::poison` and reexport them in `std::sync` Tracking issue: rust-lang#134646 r? `@tgross35` I've used `sync_poison_mod` feature flag instead, because `sync_poison` had already been used back in 1.2. try-job: x86_64-msvc
Can we get the libs-api team to nominate this for FCP? @Amanieu ? |
I believe anybody can nominate via rustbot. But none of the nonpoison versions have been added yet, I don’t think it makes sense to stabilize this without knowing for sure that we have those. |
Feature gate:
#![feature(sync_poison_mod)]
This is a tracking issue moving all poisonable
std::sync
types tostd::sync::poison
, with reexports instd::sync
. In a future edition, we will be able to instead reexportstd::sync::nonpoison
(this module does not exist yet).Public API
Steps / History
std::sync::poison
and reexport them instd::sync
#134692Unresolved Questions
Related
nonpoison
versions of existingpoison
types: Tracking Issue forsync_nonpoison
andnonpoison_{condvar,mutex,once,rwlock}
#134645Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: