about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-14 07:06:14 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-04-15 19:45:00 -0700
commit93dc55518840ee3cbd570c0d85aa7a445752af8b (patch)
treeb0e338768e2b094d97d0ca533e94e1f723d59ae3 /src/rustllvm/ExecutionEngineWrapper.cpp
parent4ca7abb1c4c76b4a23024baacdb7a023692c1d2d (diff)
downloadrust-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