mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-08 10:48:04 +03:00
abfe7f96dd
Some libc implementations (glib) deduplicate identical hooks, others (musl, macos) do not and blindly append them to an internal list. Ensure there's only a single call to pthread_atfork to prevent unbounded memory use when lots of threads/forks are used.