diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-14 07:06:14 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-15 19:45:00 -0700 |
| commit | 93dc55518840ee3cbd570c0d85aa7a445752af8b (patch) | |
| tree | b0e338768e2b094d97d0ca533e94e1f723d59ae3 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 4ca7abb1c4c76b4a23024baacdb7a023692c1d2d (diff) | |
| download | rust-93dc55518840ee3cbd570c0d85aa7a445752af8b.tar.gz rust-93dc55518840ee3cbd570c0d85aa7a445752af8b.zip | |
native: Fix a race in select()
During selection, libnative would erroneously re-acquire ownership of a task when a separate thread still had ownership of the task. The loop in select() was rewritten to acknowledge this race and instead block waiting to re-acquire ownership rather than plowing through. Closes #13494
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
