Rename Poller to PollHandle

This commit is contained in:
Ruihan Li
2024-10-24 17:45:47 +08:00
committed by Tate, Hongliang Tian
parent 44b55f2ccf
commit f12e502ab0
35 changed files with 85 additions and 81 deletions

View File

@ -7,7 +7,7 @@ use crate::{
events::IoEvents,
net::socket::vsock::{addr::VsockSocketAddr, VSOCK_GLOBAL},
prelude::*,
process::signal::{Pollee, Poller},
process::signal::{PollHandle, Pollee},
};
pub struct Connecting {
@ -45,7 +45,7 @@ impl Connecting {
self.info.disable_irq().lock().update_for_event(event)
}
pub fn poll(&self, mask: IoEvents, poller: Option<&mut Poller>) -> IoEvents {
pub fn poll(&self, mask: IoEvents, poller: Option<&mut PollHandle>) -> IoEvents {
self.pollee.poll(mask, poller)
}