about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2017-02-04 01:10:12 +0100
committerTobias Bucher <tobiasbucher5991@gmail.com>2017-02-04 01:10:12 +0100
commitefeb42be2837842d1beb47b51bb693c7474aba3d (patch)
tree9ec92a0450eb4ecd354cff5f55195108fdad03dd /src/libstd/sys/unix/process/process_unix.rs
parent86d9ed6c82c6745fec46b9ecf2fa91be7924dd16 (diff)
downloadrust-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