Home
last modified time | relevance | path

Searched refs:register_listener (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/tokio/src/signal/
Dregistry.rs80 fn register_listener(&self, event_id: EventId) -> watch::Receiver<()> { in register_listener() method
132 pub(crate) fn register_listener(&self, event_id: EventId) -> watch::Receiver<()> { in register_listener() method
133 self.registry.register_listener(event_id) in register_listener()
188 let first = registry.register_listener(0); in smoke()
189 let second = registry.register_listener(1); in smoke()
190 let third = registry.register_listener(2); in smoke()
229 registry.register_listener(1); in register_panics_on_invalid_input()
245 let first = registry.register_listener(0); in broadcast_returns_if_at_least_one_event_fired()
246 let second = registry.register_listener(1); in broadcast_returns_if_at_least_one_event_fired()
Dwindows.rs86 let rx = globals().register_listener(signum as EventId); in new()
Dunix.rs369 Ok(globals().register_listener(kind.0 as EventId)) in signal_with_handle()