about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-26 16:02:24 +0100
committerGitHub <noreply@github.com>2021-11-26 16:02:24 +0100
commitfdc305d58d7cf93703a47118538f04b2b53c2873 (patch)
tree2452769988305e555838f77d54e30166fba66c05 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent324b4bcb3caaaa70476d65c86e8d399f09145bab (diff)
parent6911af9d06ef4f92659326ce426c6aefc7b47282 (diff)
downloadrust-fdc305d58d7cf93703a47118538f04b2b53c2873.tar.gz
rust-fdc305d58d7cf93703a47118538f04b2b53c2873.zip
Rollup merge of #91176 - hermitcore:spin, r=kennytm
If the thread does not get the lock in the short term, yield the CPU

Reduces on [RustyHermit](https://github.com/hermitcore/rusty-hermit) the amount of wasted processor cycles
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions