Files
zig/lib/std
Justus Klausecker 3af5f81e11 std.heap.ArenaAllocator: fix end_index memory ordering
This prevents a race between `alloc` and `free` where T1 receives memory
from `alloc` that is semantically about to be freed by T2 and still being
accessed, but the `free` is already visible to T1. Using acquire-release
here guarantees that any `free` is only published after all accesses to
the memory being freed have already happened.

Co-authored-by: Jacob Young <amazingjacob@gmail.com>
2026-03-25 11:48:43 +01:00
..
2025-11-22 22:42:38 +00:00
2026-03-24 21:33:27 -04:00
2026-03-10 10:38:50 +00:00
2025-11-22 22:42:38 +00:00
2026-02-11 23:37:31 +01:00
2026-03-10 10:38:50 +00:00
2026-02-13 17:58:09 -05:00
2026-03-10 10:38:50 +00:00
2026-03-10 10:26:07 +00:00
2025-12-22 10:00:35 -08:00
2025-11-22 22:42:38 +00:00
2026-03-21 02:56:24 -04:00
2025-08-29 17:14:26 -07:00
2025-08-29 17:14:26 -07:00
2026-03-10 10:38:50 +00:00
2026-03-10 10:26:14 +00:00
2026-03-21 02:56:24 -04:00
2025-08-28 18:30:57 -07:00
2026-03-12 17:44:03 -04:00
2025-07-16 10:27:39 -07:00
2026-03-20 06:46:13 +01:00