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

@ -32,7 +32,7 @@ use crate::{
},
},
prelude::*,
process::signal::{Pollable, Pollee, Poller},
process::signal::{PollHandle, Pollable, Pollee},
util::{MultiRead, MultiWrite},
};
@ -376,7 +376,7 @@ impl StreamSocket {
}
impl Pollable for StreamSocket {
fn poll(&self, mask: IoEvents, poller: Option<&mut Poller>) -> IoEvents {
fn poll(&self, mask: IoEvents, poller: Option<&mut PollHandle>) -> IoEvents {
self.pollee.poll(mask, poller)
}
}