We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
awake
1 parent 4c1a873 commit 0f31212Copy full SHA for 0f31212
1 file changed
compio-driver/src/sys/driver/poll/mod.rs
@@ -444,6 +444,7 @@ impl Driver {
444
return Ok(());
445
}
446
self.events.clear();
447
+ self.notify.set_awake(false);
448
self.notify.poll.wait(&mut self.events, timeout)?;
449
if self.events.is_empty() && timeout.is_some() {
450
return Err(io::Error::from_raw_os_error(libc::ETIMEDOUT));
0 commit comments