Home
last modified time | relevance | path

Searched refs:retry_on_intr (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/rustix/tests/io/
H A Dpoll.rs3 use rustix::io::{poll, retry_on_intr};
17 let num = retry_on_intr(|| poll(&mut poll_fds, 0)).unwrap(); in test_poll()
23 assert_eq!(retry_on_intr(|| write(&writer, b"a")).unwrap(), 1); in test_poll()
26 let num = retry_on_intr(|| poll(&mut poll_fds, -1)).unwrap(); in test_poll()
38 assert_eq!(retry_on_intr(|| read(&reader, &mut buf)).unwrap(), 1); in test_poll()
43 let num = retry_on_intr(|| poll(&mut poll_fds, 0)).unwrap(); in test_poll()
/third_party/rust/crates/rustix/src/io/
H A Derrno.rs78 pub fn retry_on_intr<T, F: FnMut() -> Result<T>>(mut f: F) -> Result<T> { in retry_on_intr() functions
H A Dmod.rs35 pub use errno::{retry_on_intr, Errno, Result};

Completed in 1 milliseconds