SeqCst->Relaxed for xous set_nonblocking.
The SeqCst wasn't synchronizing with anything. Relaxed is enough.
This commit is contained in:
parent
69a4d77d67
commit
5a594f7bcd
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ impl TcpStream {
|
|||
}
|
||||
|
||||
pub fn set_nonblocking(&self, nonblocking: bool) -> io::Result<()> {
|
||||
self.nonblocking.store(nonblocking, Ordering::SeqCst);
|
||||
self.nonblocking.store(nonblocking, Ordering::Relaxed);
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue