diff options
| author | bors <bors@rust-lang.org> | 2014-01-25 05:11:28 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-25 05:11:28 -0800 |
| commit | b0ef2d56a8f33a139493f3b904b903693feb6118 (patch) | |
| tree | 3099569592768ff957f6860857116f62182a8d14 /src/rustllvm/RustWrapper.cpp | |
| parent | 6516b303b5f35e81350cccdf6629766e2b0a027e (diff) | |
| parent | 35e26e94d8a13ef3f24a66374aff815e370f8843 (diff) | |
| download | rust-b0ef2d56a8f33a139493f3b904b903693feb6118.tar.gz rust-b0ef2d56a8f33a139493f3b904b903693feb6118.zip | |
auto merge of #11775 : alexcrichton/rust/select-fix, r=pcwalton
The race here happened when a port had its deschedule in select() canceled, but the other chan had already been dropped. This meant that the DISCONNECTED case was hit in abort_selection, but the to_wake cell hadn't been emptied yet (this was done after aborting), causing an assert in abort_selection to trip. To fix this, the to_wake cell is just emptied before abort_selection is called (we know that we're the owner of it already).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
