]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fork.cc (fork_child): Move pinfo fixup later to attempt some minor gains from
authorChristopher Faylor <me@cgf.cx>
Sat, 19 Oct 2002 18:29:37 +0000 (18:29 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 19 Oct 2002 18:29:37 +0000 (18:29 +0000)
concurrency from cythread::init.

winsup/cygwin/ChangeLog
winsup/cygwin/fork.cc

index a232919515283a7490776a450ec748e29732c3aa..bf82bac4898ce4b4ab6e55ff1e12095ba299c357 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-19  Christopher Faylor  <cgf@redhat.com>
+
+       * fork.cc (fork_child): Move pinfo fixup later to attempt some minor
+       gains from concurrency from cythread::init.
+
 2002-10-18  Christopher Faylor  <cgf@redhat.com>
 
        * dcrt0.cc (dll_crt0_1): Initialize cygwin threads here only when not
index 729de1d8b6b1b6b1f7464bc2c46a05c394a0e612..4cac097b5e634716d6295827067be824422ba934 100644 (file)
@@ -284,8 +284,6 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls)
   if (fixup_mmaps_after_fork (hParent))
     api_fatal ("recreate_mmaps_after_fork_failed");
 
-  pinfo_fixup_after_fork ();
-
   MALLOC_CHECK;
 
   /* If we haven't dynamically loaded any dlls, just signal
@@ -308,6 +306,7 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls)
     api_fatal ("recreate_shm areas after fork failed");
 
   cygthread::init ();
+  pinfo_fixup_after_fork ();
   signal_fixup_after_fork ();
 
   /* Set thread local stuff to zero.  Under Windows 95/98 this is sometimes
This page took 0.036065 seconds and 5 git commands to generate.