Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-14 09:52:38 +0400
committerChristopher Faylor <me@cgf.cx>2000-10-14 09:52:38 +0400
commitaece55b982a562c6ae305d3892b4206f3efa3f22 (patch)
treeebff26e5f8af7eeaed05227a3ba81fb461f9e9cf /winsup/cygwin/pinfo.cc
parentcbe4c8e2346ecd904082daecf3299c66d231c18b (diff)
* cygheap.cc (cygheap_fixup_in_child): Don't page round cygheap copied from
parent. * dcrt0.cc (do_exit): Don't cleanup pinfo on exit. That happens automatically now. * exceptions.cc (signal_exit): Ditto. * fork.cc (fork_parent): Use stack_here value passed in from fork(). (fork): Figure out top of stack here and pass it to fork_parent. * pinfo.cc (_pinfo::record_death): Eliminate. * pinfo.h (_pinfo): Ditto. * sigproc.cc (proc_exists): Simplify. (proc_terminate): Ditto. (remove_zombie): Don't cleanup pinfo stuff. (wait_sig): Send subproc_ready signal whether execed or spawned. * spawn.cc (spawn_guts): Always create subproc_ready event. Use it for both exec and spawn. (_spawnve): Send proper mode to spawn_guts when mode != _P_OVERLAY.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index f14b45c60..68f4923e7 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -175,17 +175,6 @@ _pinfo::copysigs(_pinfo *_other)
}
void
-_pinfo::record_death ()
-{
- /* CGF FIXME - needed? */
- if (dwProcessId == GetCurrentProcessId () && !my_parent_is_alive ())
- {
- process_state = PID_NOT_IN_USE;
- hProcess = NULL;
- }
-}
-
-void
pinfo::init (pid_t n, DWORD create, HANDLE in_h)
{
if (n == myself->pid)