Skip to main content

stream_watch_fds

Function stream_watch_fds 

Source
pub(crate) fn stream_watch_fds(streams: Vec<StreamFd>, stop: OwnedFd)
Expand description

poll(2) the stream descriptors and the stop eventfd. A stream is dropped at EOF and a stop request gets one last read of every stream.