diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-19 08:26:11 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-19 16:53:00 -0800 |
| commit | 765a4e9fe35014eed3c7f60f8c7030ecb537871b (patch) | |
| tree | 94c665f6deba7ca162fbc9590180caddca18a9ca /src/rustllvm/PassWrapper.cpp | |
| parent | ace204a74548947914d08a7feca694941106175d (diff) | |
| download | rust-765a4e9fe35014eed3c7f60f8c7030ecb537871b.tar.gz rust-765a4e9fe35014eed3c7f60f8c7030ecb537871b.zip | |
Fix sending/try_recv on channels off the runtime
The fairness yield mistakenly called `Local::take()` which meant that it would only work if a local task was available. In theory sending on a channel (or calling try_recv) requires no runtime because it never blocks, so there's no reason it shouldn't support such a use case. Closes #12391
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
