mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
(__fork): Call __pthread_reset_pthread_once.
This commit is contained in:
parent
107d073a3f
commit
f24b033fda
@ -89,6 +89,7 @@ pid_t __fork(void)
|
||||
pid = __libc_fork();
|
||||
if (pid == 0) {
|
||||
__pthread_reset_main_thread();
|
||||
__pthread_reset_pthread_once();
|
||||
__fresetlockfiles();
|
||||
pthread_call_handlers(child);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user