aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-14 05:52:38 +0000
committerChristopher Faylor <me@cgf.cx>2000-10-14 05:52:38 +0000
commitaece55b982a562c6ae305d3892b4206f3efa3f22 (patch)
treeebff26e5f8af7eeaed05227a3ba81fb461f9e9cf /winsup/cygwin/exceptions.cc
parentcbe4c8e2346ecd904082daecf3299c66d231c18b (diff)
downloadnewlib-aece55b982a562c6ae305d3892b4206f3efa3f22.zip
newlib-aece55b982a562c6ae305d3892b4206f3efa3f22.tar.gz
newlib-aece55b982a562c6ae305d3892b4206f3efa3f22.tar.bz2
* 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/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 6f838ee..8d81780 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -1005,11 +1005,7 @@ signal_exit (int rc)
{
rc = EXIT_SIGNAL | (rc << 8);
if (exit_already++)
- {
- /* We are going down - reset our process_state without locking. */
- myself->record_death ();
- ExitProcess (rc);
- }
+ ExitProcess (rc);
/* We'd like to stop the main thread from executing but when we do that it
causes random, inexplicable hangs. So, instead, we set up the priority