We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 644f8f1 + 31b63d0 commit aa9a2ccCopy full SHA for aa9a2cc
src/libstd/thread/mod.rs
@@ -1310,11 +1310,17 @@ impl<T> JoinHandle<T> {
1310
1311
/// Waits for the associated thread to finish.
1312
///
1313
+ /// In terms of [atomic memory orderings], the completion of the associated
1314
+ /// thread synchronizes with this function returning. In other words, all
1315
+ /// operations performed by that thread are ordered before all
1316
+ /// operations that happen after `join` returns.
1317
+ ///
1318
/// If the child thread panics, [`Err`] is returned with the parameter given
1319
/// to [`panic`].
1320
1321
/// [`Err`]: ../../std/result/enum.Result.html#variant.Err
1322
/// [`panic`]: ../../std/macro.panic.html
1323
+ /// [atomic memory orderings]: ../../std/sync/atomic/index.html
1324
1325
/// # Panics
1326
0 commit comments