diff options
| author | bors <bors@rust-lang.org> | 2014-08-25 01:45:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-25 01:45:57 +0000 |
| commit | 83804f90852f51f043d3011657ba20c1876d2111 (patch) | |
| tree | 7424d32c6d1efdb5ea4dc349ddec384bd1aa105f /src/rustllvm/RustWrapper.cpp | |
| parent | 833277e2d2c7cf5fcf995ef413412a21b4756ca7 (diff) | |
| parent | fd763a5b1e736df39d878b888b1bf14f2009672c (diff) | |
| download | rust-83804f90852f51f043d3011657ba20c1876d2111.tar.gz rust-83804f90852f51f043d3011657ba20c1876d2111.zip | |
auto merge of #15704 : alexcrichton/rust/issue-15595, r=brson
If a task is spinning in an accept loop, there is currently no method of gracefully shutting it down. This PR introduces a way to do so by cloning the acceptor and implementing a close_accept method to unblocking any pending acceptor. As with other I/O methods like this, it is `#[experimental]` from the start and sadly carries with it a good deal of code to support it. Much of the complication is from the fact that you can now concurrently accept on the same socket. I tried to add a good deal of tests for this change, but another set of eyes is always appreciated!
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
