wip
This commit is contained in:
@@ -60,6 +60,12 @@ pub(crate) fn poll_oneoff(
|
|||||||
Errno,
|
Errno,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
trace!(
|
||||||
|
"poll_oneoff_impl: timeout={:?}, fd_events={:?}",
|
||||||
|
timeout,
|
||||||
|
fd_events
|
||||||
|
);
|
||||||
|
|
||||||
if fd_events.is_empty() && timeout.is_none() {
|
if fd_events.is_empty() && timeout.is_none() {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -224,6 +224,12 @@ pub(crate) fn poll_oneoff(
|
|||||||
use std::fs::Metadata;
|
use std::fs::Metadata;
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
trace!(
|
||||||
|
"poll_oneoff_impl: timeout={:?}, fd_events={:?}",
|
||||||
|
timeout,
|
||||||
|
fd_events
|
||||||
|
);
|
||||||
|
|
||||||
let timeout = timeout
|
let timeout = timeout
|
||||||
.map(|event| {
|
.map(|event| {
|
||||||
event
|
event
|
||||||
|
|||||||
Reference in New Issue
Block a user