mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-08 02:38:00 +03:00
a1053e8e1d
This allows the mutate mutex to only be locked during actual grows, which are rare. For the lists that didn't previously have a mutex, this change has little effect since grows are rare and there is zero contention on a mutex that is only ever locked by one thread. This change allows `extra` to be mutated without racing with a grow.