-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Expose mutex poisoning helpers #21565
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
Conversation
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
I think adding cc @aturon, an interesting conventions dilemma of whether we should provide constructors for all errors or largely just some method to reconstruct "wrapper errors" after decomposing them. |
Yeah, I could copy it out, but I don't want to ;) |
As an API we'll have to support to the end of time the threshold should be fairly high for inclusion. A bare |
It's marked as |
Although we have a distinction of
All currently Along these lines, I do not think that this |
(FWIW, I agree with @alexcrichton here.) |
That sounds good, I'll update this PR soon. |
Updated to keep |
I needed these to implement efficient poisoning in [seqloq](https://github.com/kmcallister/seqloq/tree/poison).
I needed these to implement efficient poisoning in seqloq.