about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2025-01-19 20:41:35 +0100
committerjoboet <jonasboettiger@icloud.com>2025-02-02 20:28:50 +0100
commit2d6c9b4c79bcce67cb6bfc1f7966d2dc28f70ff5 (patch)
treef44a1d41268a56ac4217cc70002cda0670988c47 /compiler/rustc_codegen_llvm/src
parentb82463fcbfd2ed60a77003261445df0f430a3e50 (diff)
downloadrust-2d6c9b4c79bcce67cb6bfc1f7966d2dc28f70ff5.tar.gz
rust-2d6c9b4c79bcce67cb6bfc1f7966d2dc28f70ff5.zip
shim Apple's futex primitives
This is necessary to unblock rust-lang/rust#122408. The documentation for these is available [here](https://developer.apple.com/documentation/os/os_sync_wait_on_address?language=objc).

Because the futex wait operations (`os_sync_wait_on_address` et al.) return the number of remaining waiters after returning, this required some changes to the common futex infrastructure, which I've changed to take a callback instead of precalculating the return values.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions