diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2017-02-04 01:10:12 +0100 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2017-02-04 01:10:12 +0100 |
| commit | efeb42be2837842d1beb47b51bb693c7474aba3d (patch) | |
| tree | 9ec92a0450eb4ecd354cff5f55195108fdad03dd /src/libstd/sys/unix/process/process_unix.rs | |
| parent | 86d9ed6c82c6745fec46b9ecf2fa91be7924dd16 (diff) | |
| download | rust-efeb42be2837842d1beb47b51bb693c7474aba3d.tar.gz rust-efeb42be2837842d1beb47b51bb693c7474aba3d.zip | |
Use less syscalls in `FileDesc::set_{nonblocking,cloexec}`
Only set the flags if they differ from what the OS reported, use `FIONBIO` to atomically set the non-blocking IO flag on Linux.
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
