Home
last modified time | relevance | path

Searched refs:SourceFd (Results 1 - 5 of 5) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dsource_fd.rs19 /// SourceFd allows any type of FD to register with Poll.
21 pub struct SourceFd<'a>(pub &'a RawFd); structure names
23 impl<'a> Source for SourceFd<'a> {
44 use crate::sys::{socket, SourceFd};
46 /// UT cases for debug info of SourceFd.
49 /// 1. Create a SourceFd
50 /// 2. Reregister the SourceFd
54 let source_fd = SourceFd(&sock); in ut_source_fd_debug_info()
57 assert!(fmt.contains("SourceFd(")); in ut_source_fd_debug_info()
H A Dmod.rs58 pub use source_fd::SourceFd;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/
H A Dpipe.rs19 use ylong_io::sys::SourceFd;
73 SourceFd(&self.as_raw_fd()).register(selector, token, interests) in register()
77 SourceFd(&self.as_raw_fd()).deregister(selector) in deregister()
/commonlibrary/rust/ylong_runtime/ylong_io/src/
H A Dlib.rs34 pub use crate::sys::SourceFd;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/
H A Dsys.rs22 use ylong_io::sys::SourceFd;
159 SourceFd(&self.get_fd()).register(selector, token, interests) in register()
163 SourceFd(&self.get_fd()).deregister(selector) in deregister()

Completed in 2 milliseconds