about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJames Duley <james.duley@arm.com>2018-09-21 14:13:39 +0000
committerJames Duley <james.duley@arm.com>2018-10-30 22:54:35 +0000
commitd3e71e4986c3970d2f51b972c1dfdd740f89385a (patch)
tree015f2820023fbd47b658eb30850f42ca63c5cecb /src/rustllvm/RustWrapper.cpp
parente8aef7cae14bc7a56859408c90253e9bcc07fcff (diff)
downloadrust-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