diff options
| author | joboet <jonasboettiger@icloud.com> | 2025-01-19 20:41:35 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2025-02-02 20:28:50 +0100 |
| commit | 2d6c9b4c79bcce67cb6bfc1f7966d2dc28f70ff5 (patch) | |
| tree | f44a1d41268a56ac4217cc70002cda0670988c47 /compiler/rustc_codegen_llvm/src | |
| parent | b82463fcbfd2ed60a77003261445df0f430a3e50 (diff) | |
| download | rust-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
