mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
In end(), the freelist pointer is owned so the bare store would be ok. However, there is a load in start() that can happen at the same time, if another start() and end() pair grabs that same index. I don't think this fixes #21663 actually because even if the data race corrupts the value for `next`, the cmpxchg protects the value from being stored there.
1424 lines
52 KiB
1424 lines
52 KiB