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.
1 parent 312f488 commit c00b5d3Copy full SHA for c00b5d3
src/parking.rs
@@ -175,7 +175,7 @@ impl Parker {
175
/// p.park();
176
/// ```
177
pub fn unpark(&self) {
178
- if self.inner.unpark() && self.io.load(Ordering::Acquire) {
+ if self.inner.unpark() && self.io.load(Ordering::SeqCst) {
179
Reactor::get().notify();
180
}
181
@@ -315,7 +315,7 @@ impl Unparker {
315
316
317
318
319
320
321
0 commit comments