File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1310,11 +1310,17 @@ impl<T> JoinHandle<T> {
1310
1310
1311
1311
/// Waits for the associated thread to finish.
1312
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
+ ///
1313
1318
/// If the child thread panics, [`Err`] is returned with the parameter given
1314
1319
/// to [`panic`].
1315
1320
///
1316
1321
/// [`Err`]: ../../std/result/enum.Result.html#variant.Err
1317
1322
/// [`panic`]: ../../std/macro.panic.html
1323
+ /// [atomic memory orderings]: ../../std/sync/atomic/index.html
1318
1324
///
1319
1325
/// # Panics
1320
1326
///
You can’t perform that action at this time.
0 commit comments