mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 19:58:32 +00:00
Language tweak.
This commit is contained in:
parent
8d8f6995ce
commit
d66a9e16ba
@ -967,8 +967,8 @@ pub fn park_timeout(dur: Duration) {
|
||||
///
|
||||
/// A `ThreadId` is an opaque object that uniquely identifies each thread
|
||||
/// created during the lifetime of a process. `ThreadId`s are guaranteed not to
|
||||
/// be reused, even if a thread dies. `ThreadId`s are under the control of
|
||||
/// Rust's standard library and there may not be any relationship between
|
||||
/// be reused, even when a thread terminates. `ThreadId`s are under the control
|
||||
/// of Rust's standard library and there may not be any relationship between
|
||||
/// `ThreadId` and the underlying platform's notion of a thread identifier --
|
||||
/// the two concepts cannot, therefore, be used interchangeably. A `ThreadId`
|
||||
/// can be retrieved from the [`id`] method on a [`Thread`].
|
||||
|
Loading…
Reference in New Issue
Block a user