mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 19:03:27 +00:00
Rename Poller
to PollHandle
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
44b55f2ccf
commit
f12e502ab0
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user