File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -880,7 +880,7 @@ pub fn sleep(dur: Duration) {
880880/// * It can be implemented very efficiently on many platforms.
881881///
882882/// # Memory Orderings
883- ///
883+ ///
884884/// Calls to `park` _synchronize-with_ calls to `unpark`, meaning that memory
885885/// operations performed before a call to `unpark` are made visible to the thread that
886886/// consumes the token and returns from `park`. Note that all `park` and `unpark`
@@ -890,7 +890,7 @@ pub fn sleep(dur: Duration) {
890890/// In atomic ordering terms, `unpark` performs a `Release` operation and `park`
891891/// performs the corresponding `Acquire` operation. Calls to `unpark` for the same
892892/// thread form a [release sequence].
893- ///
893+ ///
894894/// Notice that being unblocked does not imply any synchronization with someone that
895895/// unparked this thread, it could also be spurious. For example, it would be a valid,
896896/// but inefficient, implementation to make both park and unpark return immediately
You can’t perform that action at this time.
0 commit comments