Navigation Menu

Skip to content

Commit

Permalink
split paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Aug 28, 2018
1 parent 34b65db commit 31b63d0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/libstd/thread/mod.rs
Expand Up @@ -1308,9 +1308,11 @@ impl<T> JoinHandle<T> {
&self.0.thread
}

/// Waits for the associated thread to finish. In terms of [atomic memory orderings],
/// the completion of the associated thread synchronizes with this function returning.
/// In other words, all operations performed by that thread are ordered before all
/// Waits for the associated thread to finish.
///
/// In terms of [atomic memory orderings], the completion of the associated
/// thread synchronizes with this function returning. In other words, all
/// operations performed by that thread are ordered before all
/// operations that happen after `join` returns.
///
/// If the child thread panics, [`Err`] is returned with the parameter given
Expand Down

0 comments on commit 31b63d0

Please sign in to comment.