File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 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> {
13101310
13111311 /// Waits for the associated thread to finish.
13121312 ///
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+ ///
13131318 /// If the child thread panics, [`Err`] is returned with the parameter given
13141319 /// to [`panic`].
13151320 ///
13161321 /// [`Err`]: ../../std/result/enum.Result.html#variant.Err
13171322 /// [`panic`]: ../../std/macro.panic.html
1323+ /// [atomic memory orderings]: ../../std/sync/atomic/index.html
13181324 ///
13191325 /// # Panics
13201326 ///
You can’t perform that action at this time.
0 commit comments