]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #91176 - hermitcore:spin, r=kennytm
authorMatthias Krüger <matthias.krueger@famsik.de>
Fri, 26 Nov 2021 15:02:24 +0000 (16:02 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Nov 2021 15:02:24 +0000 (16:02 +0100)
commitfdc305d58d7cf93703a47118538f04b2b53c2873
tree2452769988305e555838f77d54e30166fba66c05
parent324b4bcb3caaaa70476d65c86e8d399f09145bab
parent6911af9d06ef4f92659326ce426c6aefc7b47282
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