Home
last modified time | relevance | path

Searched refs:Afd (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dafd.rs83 pub struct Afd { structure names
87 impl Afd { impls
88 /// Creates a new Afd and add it to CompletionPort
89 fn new(cp: &CompletionPort) -> io::Result<Afd> { in new()
114 let msg = format!("Failed to open \\Device\\Afd\\Ylong: {raw_error}"); in new()
122 let afd = Afd { fd }; in new()
123 // Add Afd to CompletionPort in new()
192 afd_group: Mutex<Vec<Arc<Afd>>>,
195 /// Up to 32 Arc points per Afd.
208 pub(crate) fn acquire(&self) -> io::Result<Arc<Afd>> {
[all...]
H A Dselector.rs32 use crate::sys::windows::afd::{Afd, AfdGroup, AfdPollInfo};
81 /// Afd Group.
211 // Creates Afd
324 afd: Arc<Afd>,
345 /// Creates a new SockState with RawSocket and Afd.
346 fn new(socket: RawSocket, afd: Arc<Afd>) -> io::Result<SockState> { in new()
424 /// Update SockState in Deque, poll for each Afd.

Completed in 2 milliseconds