-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
document effect of join on memory ordering #53389
Conversation
r? @aidanhs (rust_highfive has picked a reviewer for you, use r? to override) |
Assigning to someone from the libs team... r? @sfackler |
src/libstd/thread/mod.rs
Outdated
@@ -1308,13 +1308,17 @@ impl<T> JoinHandle<T> { | |||
&self.0.thread | |||
} | |||
|
|||
/// Waits for the associated thread to finish. | |||
/// Waits for the associated thread to finish. In terms of [atomic memory orderings], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you move the new text to a separate paragraph? The first paragraph shows up as a summary in search results so we like to keep it short. LGTM otherwise.
Done. |
@bors r+ rollup |
📌 Commit 31b63d0 has been approved by |
document effect of join on memory ordering Fixes rust-lang#45467
document effect of join on memory ordering Fixes rust-lang#45467
document effect of join on memory ordering Fixes rust-lang#45467
document effect of join on memory ordering Fixes rust-lang#45467
document effect of join on memory ordering Fixes rust-lang#45467
Rollup of 20 pull requests Successful merges: - #51760 (Add another PartialEq example) - #53113 (Add example for Cow) - #53129 (remove `let x = baz` which was obscuring the real error) - #53389 (document effect of join on memory ordering) - #53472 (Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.) - #53476 (Add partialeq implementation for TryFromIntError type) - #53513 (Force-inline `shallow_resolve` at its hottest call site.) - #53655 (set applicability) - #53702 (Fix stabilisation version for macro_vis_matcher.) - #53727 (Do not suggest dereferencing in macro) - #53732 (save-analysis: Differentiate foreign functions and statics.) - #53740 (add llvm-readobj to llvm-tools-preview) - #53743 (fix a typo: taget_env -> target_env) - #53747 (Rustdoc fixes) - #53753 (expand keep-stage --help text) - #53756 (Fix typo in comment) - #53768 (move file-extension based .gitignore down to src/) - #53785 (Fix a comment in src/libcore/slice/mod.rs) - #53786 (Replace usages of 'bad_style' with 'nonstandard_style'.) - #53806 (Fix UI issues on Implementations on Foreign types) Failed merges: r? @ghost
Fixes #45467