Marcin Mielniczuk
5 years ago
No known key found for this signature in database
GPG Key ID: 2CF0CE66660B8CC9
2 changed files with
0 additions and
12 deletions
-
crates/wasi-common/src/sys/unix/hostcalls_impl/misc.rs
-
crates/wasi-common/src/sys/windows/hostcalls_impl/misc.rs
|
|
@ -60,12 +60,6 @@ pub(crate) fn poll_oneoff( |
|
|
|
Errno, |
|
|
|
}; |
|
|
|
|
|
|
|
trace!( |
|
|
|
"poll_oneoff_impl: timeout={:?}, fd_events={:?}", |
|
|
|
timeout, |
|
|
|
fd_events |
|
|
|
); |
|
|
|
|
|
|
|
if fd_events.is_empty() && timeout.is_none() { |
|
|
|
return Ok(()); |
|
|
|
} |
|
|
|
|
|
@ -224,12 +224,6 @@ pub(crate) fn poll_oneoff( |
|
|
|
use std::fs::Metadata; |
|
|
|
use std::thread; |
|
|
|
|
|
|
|
trace!( |
|
|
|
"poll_oneoff_impl: timeout={:?}, fd_events={:?}", |
|
|
|
timeout, |
|
|
|
fd_events |
|
|
|
); |
|
|
|
|
|
|
|
let timeout = timeout |
|
|
|
.map(|event| { |
|
|
|
event |
|
|
|