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