Home
last modified time | relevance | path

Searched refs:ctrl_c (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/tokio/src/signal/
Dwindows.rs23 ctrl_c: EventInfo, field
30 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() function
334 fn ctrl_c() { in ctrl_c() function
338 let mut ctrl_c = task::spawn(crate::signal::ctrl_c()); in ctrl_c() localVariable
340 assert_pending!(ctrl_c.poll()); in ctrl_c()
349 assert_ready_ok!(ctrl_c.poll()); in ctrl_c()
Dmod.rs48 mod ctrl_c; module
49 pub use ctrl_c::ctrl_c;
Dctrl_c.rs50 pub async fn ctrl_c() -> io::Result<()> { in ctrl_c() function
51 os_impl::ctrl_c()?.recv().await; in ctrl_c()
Dunix.rs450 pub(crate) fn ctrl_c() -> io::Result<Signal> { in ctrl_c() function
/external/rust/crates/tokio/tests/
Dsignal_ctrl_c.rs15 async fn ctrl_c() { in ctrl_c() function
16 let ctrl_c = signal::ctrl_c(); in ctrl_c() localVariable
29 assert_ok!(ctrl_c.await); in ctrl_c()
Dasync_send_sync.rs231 async_assert_fn!(tokio::signal::ctrl_c(): Send & Sync);
/external/rust/crates/crossbeam-channel/examples/
Dstopwatch.rs45 let ctrl_c = sigint_notifier().unwrap(); in main() localVariable
52 recv(ctrl_c) -> _ => { in main()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteClientBase.cpp359 const char ctrl_c = '\x03'; in SyncWithContinueThread() local
361 size_t bytes_written = m_comm.Write(&ctrl_c, 1, status, nullptr); in SyncWithContinueThread()
/external/rust/crates/tokio/
DCHANGELOG.md1109 - API docs for platform specific behavior of `signal::ctrl_c` and `signal::unix::Signal` ([#1854]).