* fork.cc (fork_parent): Move atforkprepare call here.
(fork): From here.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Sat May 19 18:35:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* autoload.cc: Add missing load statement for `CancelIo'.
|
* autoload.cc: Add missing load statement for `CancelIo'.
|
||||||
|
@ -345,6 +345,9 @@ fork_parent (void *stack_here, HANDLE& hParent, dll *&first_dll,
|
|||||||
DWORD rc;
|
DWORD rc;
|
||||||
PROCESS_INFORMATION pi = {0, NULL, 0, 0};
|
PROCESS_INFORMATION pi = {0, NULL, 0, 0};
|
||||||
|
|
||||||
|
/* call the pthread_atfork prepare functions */
|
||||||
|
__pthread_atforkprepare ();
|
||||||
|
|
||||||
subproc_init ();
|
subproc_init ();
|
||||||
|
|
||||||
#ifdef DEBUGGING_NOTNEEDED
|
#ifdef DEBUGGING_NOTNEEDED
|
||||||
@ -640,9 +643,6 @@ fork ()
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* call the pthread_atfork prepare functions */
|
|
||||||
__pthread_atforkprepare();
|
|
||||||
|
|
||||||
void *esp;
|
void *esp;
|
||||||
__asm ("movl %%esp,%0": "=r" (esp));
|
__asm ("movl %%esp,%0": "=r" (esp));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user