diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-07-11 14:29:15 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-08-24 17:08:14 -0700 |
| commit | 110168de2a7b529a7c4839ca1e19c4c42f68be12 (patch) | |
| tree | b590f2a6976d0c44b174c1eb3205a120a8072db0 /src/rustllvm/RustWrapper.cpp | |
| parent | 6d9b219e6f84325ee32c70a29bf782e7ad54ebc8 (diff) | |
| download | rust-110168de2a7b529a7c4839ca1e19c4c42f68be12.tar.gz rust-110168de2a7b529a7c4839ca1e19c4c42f68be12.zip | |
native: Implement clone/close_accept for unix
This commits implements {Tcp,Unix}Acceptor::{clone,close_accept} methods for
unix. A windows implementation is coming in a later commit.
The clone implementation is based on atomic reference counting (as with all
other clones), and the close_accept implementation is based on selecting on a
self-pipe which signals that a close has been seen.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
