mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
fix: use cmpxchgStrong in Io.Mutex
* `cmpxchgWeak` can fail spuriously on LL/SC architectures and `tryLock` would invalidly return false in those cases.
This commit is contained in:
parent
cfe5c88ad6
commit
048e38624e
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue