We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
thread::park
1 parent 6e8a013 commit e9868efCopy full SHA for e9868ef
library/std/src/thread/mod.rs
@@ -891,8 +891,8 @@ pub fn sleep(dur: Duration) {
891
/// performs the corresponding `Acquire` operation. Calls to `unpark` for the same
892
/// thread form a [release sequence].
893
///
894
-/// Note that being unblocked does not imply synchronization with a call to `unpark`,
895
-/// the wakeup could also be spurious. For example, a valid, but inefficient,
+/// Note that being unblocked does not imply a call was made to `unpark`, because
+/// wakeups can also be spurious. For example, a valid, but inefficient,
896
/// implementation could have `park` and `unpark` return immediately without doing anything.
897
898
/// # Examples
0 commit comments