diff options
| author | bors <bors@rust-lang.org> | 2022-10-28 20:19:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-28 20:19:28 +0000 |
| commit | a0fbf0d0775d37d61a62643f2f3bdf45f8763067 (patch) | |
| tree | 5634da3652944c9bd2eea6fd66a0d930e7b99577 /compiler/rustc_codegen_llvm/src | |
| parent | 4827d41466af1e9b5f3a38d55f8f99e66e3f6842 (diff) | |
| parent | 9b0cdf9a6ef71708fbb405d53a64e4e60b2691a2 (diff) | |
| download | rust-a0fbf0d0775d37d61a62643f2f3bdf45f8763067.tar.gz rust-a0fbf0d0775d37d61a62643f2f3bdf45f8763067.zip | |
Auto merge of #2630 - RalfJung:windows-parking, r=RalfJung
Implement thread parking for Windows Cc https://github.com/rust-lang/miri/issues/2628 Based on code by `@DrMeepster.` However I adjusted `WakeByAddressSingle`: I don't think the futex value is compared *again* after the thread is woken up. I see nothing in the Windows docs indicating such a comparison, and the Linux futex does not behave like that either. So we only check the value before sleeping, same as on Linux.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
