diff options
author | Christopher Faylor <me@cgf.cx> | 2000-11-15 06:27:48 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-11-15 06:27:48 +0000 |
commit | 84aeff4126777c437a15c052f08be026f384ab70 (patch) | |
tree | 0d8fdcaf5f04948137e352b0f8b1e31e78925122 /winsup/cygwin/wait.cc | |
parent | fb0a87573362f64e9c26036f8c887c930fa9ca6a (diff) | |
download | cygnal-84aeff4126777c437a15c052f08be026f384ab70.tar.gz cygnal-84aeff4126777c437a15c052f08be026f384ab70.tar.bz2 cygnal-84aeff4126777c437a15c052f08be026f384ab70.zip |
Throughout use myself->ppid_handle rather than parent_alive.
* child_info.h (child_info): Eliminate parent_alive.
* dcrt0.cc (dll_crt0_1): Call fork_init for debugging pid creation.
* fork.cc (fork_child): Reflect change to fixup_mmaps_after_fork arguments.
(slow_pid_reuse): New function to grab last 'n' pids to prevent pid reuse.
(fork_parent): Move last_fork_proc into slow_pid_reuse. Handle fork_pids
debugging. Eliminate unnecessary call to set_child_mmap_ptr.
(fork_init): New debugging function.
* mmap.cc (fixup_mmaps_after_fork): Renamed from recreate_mmaps_after_fork.
Rely on copied data after a fork.
(set_child_mmap_ptr): Eliminate.
* pinfo.h (_pinfo): Eliminate parent_alive, mmap_ptr and reflect above changes.
* spawn.cc (spawn_guts): Eliminate vestiges of "old way" of sending new hProc
to parent process.
Diffstat (limited to 'winsup/cygwin/wait.cc')
-rw-r--r-- | winsup/cygwin/wait.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc index f442ab593..2f5c1ba4e 100644 --- a/winsup/cygwin/wait.cc +++ b/winsup/cygwin/wait.cc @@ -52,7 +52,6 @@ wait4 (int intpid, int *status, int options, struct rusage *r) HANDLE waitfor; sigframe thisframe (mainthread); -sigproc_printf ("here"); if (options & ~(WNOHANG | WUNTRACED)) { set_errno (EINVAL); |