mirror of https://git.musl-libc.org/git/musl
Browse Source
apparently Linux clears the registered exit futex address on fork. this means that, if after forking the child process becomes multithreaded and the original thread exits, the thread list will never be unlocked, and future attempts to use the thread list will deadlock. re-register the exit futex address after _Fork in the child to ensure that it's preserved.master
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue