We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SyncSender
1 parent a377893 commit 2538c0cCopy full SHA for 2538c0c
library/std/src/sync/mpmc/utils.rs
@@ -139,6 +139,6 @@ impl Backoff {
139
/// Returns `true` if quadratic backoff has completed and blocking the thread is advised.
140
#[inline]
141
pub fn is_completed(&self) -> bool {
142
- self.step.get() > YIELD_LIMIT
+ self.step.get() > SPIN_LIMIT
143
}
144
0 commit comments