about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-25 05:11:28 -0800
committerbors <bors@rust-lang.org>2014-01-25 05:11:28 -0800
commitb0ef2d56a8f33a139493f3b904b903693feb6118 (patch)
tree3099569592768ff957f6860857116f62182a8d14 /src/rustllvm/RustWrapper.cpp
parent6516b303b5f35e81350cccdf6629766e2b0a027e (diff)
parent35e26e94d8a13ef3f24a66374aff815e370f8843 (diff)
downloadrust-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