Expose mutex poisoning helpers#21565
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).
Remove outdated SyntaxErrorKind FIXME comment
I needed these to implement efficient poisoning in seqloq.