rust/src/libnative
Alex Crichton 6328f7c199 std: Add timeouts to unix connect/accept
This adds support for connecting to a unix socket with a timeout (a named pipe
on windows), and accepting a connection with a timeout. The goal is to bring
unix pipes/named sockets back in line with TCP support for timeouts.

Similarly to the TCP sockets, all methods are marked #[experimental] due to
uncertainty about the type of the timeout argument.

This internally involved a good bit of refactoring to share as much code as
possible between TCP servers and pipe servers, but the core implementation did
not change drastically as part of this commit.

cc #13523
2014-04-24 16:24:09 -07:00
..
io std: Add timeouts to unix connect/accept 2014-04-24 16:24:09 -07:00
lib.rs auto merge of #13315 : alexcrichton/rust/libc, r=alexcrichton,me 2014-04-06 02:56:39 -07:00
task.rs native: Fix a race in select() 2014-04-15 19:45:00 -07:00