Searched refs:retry_on_intr (Results 1 - 3 of 3) sorted by relevance
/third_party/rust/crates/rustix/tests/io/ |
H A D | poll.rs | 3 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 D | errno.rs | 78 pub fn retry_on_intr<T, F: FnMut() -> Result<T>>(mut f: F) -> Result<T> { in retry_on_intr() functions
|
H A D | mod.rs | 35 pub use errno::{retry_on_intr, Errno, Result};
|
Completed in 1 milliseconds