about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-25 20:50:22 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-07 23:28:10 -0700
commit295e0a04ad57c001e854c5f52cecc18335113544 (patch)
treeb66055fe8b05649eb017ca18dfe2b49f454c41ef /src/rustllvm/RustWrapper.cpp
parente27f27c8588f5cfa0cd9dfbbdf7609ea2d6818ec (diff)
downloadrust-295e0a04ad57c001e854c5f52cecc18335113544.tar.gz
rust-295e0a04ad57c001e854c5f52cecc18335113544.zip
native: Implement timeouts for unix networking
This commit has an implementation of the previous commit's timeout interface for
I/O objects on unix platforms. For implementation details, see the large comment
at the end of libnative/io/net.rs which talks about the general strategy taken.

Thankfully, all of these implementations can share code because they're
performing all the same operations.

This commit does not implement timeouts for named pipes on windows, only tcp/udp
objects on windows (which are quite similar to their unix equivalents).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions