+Sat May 19 21:16:07 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * fork.cc (fork_parent): Move atforkprepare call here.
+ (fork): From here.
+
Sat May 19 18:35:00 2001 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc: Add missing load statement for `CancelIo'.
/* Initialize signal/process handling */
sigproc_init ();
- __pthread_atforkchild();
+ __pthread_atforkchild ();
cygbench ("fork-child");
return 0;
}
DWORD rc;
PROCESS_INFORMATION pi = {0, NULL, 0, 0};
+ /* call the pthread_atfork prepare functions */
+ __pthread_atforkprepare ();
+
subproc_init ();
#ifdef DEBUGGING_NOTNEEDED
ForceCloseHandle (forker_finished);
forker_finished = NULL;
pi.hThread = NULL;
- __pthread_atforkparent();
+ __pthread_atforkparent ();
return forked->pid;
return -1;
}
- /* call the pthread_atfork prepare functions */
- __pthread_atforkprepare();
-
void *esp;
__asm ("movl %%esp,%0": "=r" (esp));