From f24b033fdaa255ec7cb4a0fa34ef628699fdb234 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 23 Mar 2000 22:20:04 +0000 Subject: [PATCH] (__fork): Call __pthread_reset_pthread_once. --- linuxthreads/ptfork.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linuxthreads/ptfork.c b/linuxthreads/ptfork.c index 2d7ae505b7..1ebeba787f 100644 --- a/linuxthreads/ptfork.c +++ b/linuxthreads/ptfork.c @@ -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 {