about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-29 09:00:14 +0000
committerbors <bors@rust-lang.org>2022-10-29 09:00:14 +0000
commite729db172ad15010244780f450639587c6748ee1 (patch)
tree14acb884fd80ca76abaee9bbc15d8c6f35cea8c5 /compiler/rustc_codegen_llvm/src
parenta0fbf0d0775d37d61a62643f2f3bdf45f8763067 (diff)
parentc8a5d4b6000146db63574196970e9f7d803a386d (diff)
downloadrust-e729db172ad15010244780f450639587c6748ee1.tar.gz
rust-e729db172ad15010244780f450639587c6748ee1.zip
Auto merge of #2631 - RalfJung:futex-wait-no-isolate, r=RalfJung
Support timeouts with monotonic clocks even when isolation is enabled

With the deterministic monotonic clock support we now have, we can allow some synchronization primitives with timeouts even under isolation:
- Linux futex waiting (when set to the monotonic clock)
- pthread_cond_timedwait (when set to the monotonic clock)
- Windows WaitOnAddress

Unfortunately none of these exist on macOS -- the standard library always uses the system clock for timeouts on macOS, so that will still require `-Zmiri-disable-isolation`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions