diff options
| author | James Duley <james.duley@arm.com> | 2018-09-21 14:13:39 +0000 |
|---|---|---|
| committer | James Duley <james.duley@arm.com> | 2018-10-30 22:54:35 +0000 |
| commit | d3e71e4986c3970d2f51b972c1dfdd740f89385a (patch) | |
| tree | 015f2820023fbd47b658eb30850f42ca63c5cecb /src/rustllvm/RustWrapper.cpp | |
| parent | e8aef7cae14bc7a56859408c90253e9bcc07fcff (diff) | |
| download | rust-d3e71e4986c3970d2f51b972c1dfdd740f89385a.tar.gz rust-d3e71e4986c3970d2f51b972c1dfdd740f89385a.zip | |
thread::unpark: Avoid notifying with mutex locked.
This means when the other thread wakes it can continue right away instead of having to wait for the mutex. Also add some comments explaining why the mutex needs to be locked in the first place.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
