File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -806,9 +806,10 @@ const NOTIFIED: usize = 2;
806806/// In other words, each [`Thread`] acts a bit like a spinlock that can be
807807/// locked and unlocked using `park` and `unpark`.
808808///
809- /// Notice that it would be a valid (but inefficient) implementation to make both [`park`] and
810- /// [`unpark`] NOPs that return immediately. Being unblocked does not imply
811- /// any synchronization with someone that unparked this thread, it could also be spurious.
809+ /// Notice that being unblocked does not imply any synchronization with someone
810+ /// that unparked this thread, it could also be spurious.
811+ /// For example, it would be a valid, but inefficient, implementation to make both [`park`] and
812+ /// [`unpark`] return immediately without doing anything.
812813///
813814/// The API is typically used by acquiring a handle to the current thread,
814815/// placing that handle in a shared data structure so that other threads can
You can’t perform that action at this time.
0 commit comments