std: Call pthread_atfork only once

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.
abfe7f96ddLemonBoy committed on 5/20/2021, 1:26:17 PMparent992c02a
1 file changedLine totals unavailable