oconnor663 / os_pipe.rs

a cross-platform library for opening OS pipes in Rust
MIT License
98 stars 16 forks source link

retry on EINTR? #7

Closed oconnor663 closed 7 years ago

oconnor663 commented 7 years ago

Related to https://github.com/nix-rust/nix/issues/502

oconnor663 commented 7 years ago

The docs for pipe/pipe2 don't mention EINTR, and in general I don't think that error can happen outside of long-blocking operations like wait and read.