Searched refs:ctrl_c (Results 1 – 9 of 9) sorted by relevance
23 ctrl_c: EventInfo, field30 ctrl_c: EventInfo::default(), in init()39 Ok(CTRL_C_EVENT) => Some(&self.ctrl_c), in event_info()49 f(&self.ctrl_c); in for_each()152 pub fn ctrl_c() -> io::Result<CtrlC> { in ctrl_c() function334 fn ctrl_c() { in ctrl_c() function338 let mut ctrl_c = task::spawn(crate::signal::ctrl_c()); in ctrl_c() localVariable340 assert_pending!(ctrl_c.poll()); in ctrl_c()349 assert_ready_ok!(ctrl_c.poll()); in ctrl_c()
48 mod ctrl_c; module49 pub use ctrl_c::ctrl_c;
50 pub async fn ctrl_c() -> io::Result<()> { in ctrl_c() function51 os_impl::ctrl_c()?.recv().await; in ctrl_c()
450 pub(crate) fn ctrl_c() -> io::Result<Signal> { in ctrl_c() function
15 async fn ctrl_c() { in ctrl_c() function16 let ctrl_c = signal::ctrl_c(); in ctrl_c() localVariable29 assert_ok!(ctrl_c.await); in ctrl_c()
231 async_assert_fn!(tokio::signal::ctrl_c(): Send & Sync);
45 let ctrl_c = sigint_notifier().unwrap(); in main() localVariable52 recv(ctrl_c) -> _ => { in main()
359 const char ctrl_c = '\x03'; in SyncWithContinueThread() local361 size_t bytes_written = m_comm.Write(&ctrl_c, 1, status, nullptr); in SyncWithContinueThread()
1109 - API docs for platform specific behavior of `signal::ctrl_c` and `signal::unix::Signal` ([#1854]).