4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-22 00:38:06 +08:00
Christopher Faylor 2380dfe14c * pinfo.h (_pinfo::set_exit_state): Declare new function.
(pinfo::exit): Move here from _pinfo::exit.
* sigproc.cc (child_info::sync): Use new function to set exitcode and
process_state.
* pinfo.cc (_pinfo::exit): Ditto.
(proc_waiter): Ditto.
(_pinfo::set_exit_state): Define new function.
(_pinfo::dup_proc_pipe): Close handle when there is no parent process around to
care about the exit value.
* dcrt0.cc (dll_crt0_0): Move subproc_ready synchronization later to make sure
that myself is still mapped in parent.
(do_exit): Reflect movement to pinfo::exit.
(__api_fatal): Ditto.
* exceptions.cc (signal_exit): Ditto.
* errno.cc (errmap): Map PROC_NOT_FOUND.
* init.cc (dll_entry): Release myself before exiting.
* sigproc.cc (proc_can_be_signalled): Set errno appropriately.
(sig_send): Ditto.  Also remove ill-advised test for !myself->sendsig since
this is an indication of a process which is still initializating -- it is not
an error.
(child_info::sync): Don't set exitcode here.  Assume that will happen in
proc_waiter, if necessary.
* spawn.cc (spawn_guts): Delay "wait_for_myself" logic until later.  Don't wait
at all if the process has already exited.  Reflect movement to pinfo::exit.
2005-01-11 15:31:04 +00:00
..
2004-12-15 17:29:01 +00:00
2004-12-05 02:30:20 +00:00
2004-01-20 03:11:39 +00:00
2005-01-03 18:16:46 +00:00
2005-01-03 18:16:46 +00:00
2004-12-15 17:29:01 +00:00
2004-05-12 16:21:18 +00:00
2002-12-12 03:09:38 +00:00
2004-03-14 05:35:19 +00:00
2004-12-05 02:30:20 +00:00
2004-02-04 22:40:50 +00:00
2004-09-03 01:32:02 +00:00
2005-01-06 16:36:40 +00:00
2003-07-07 05:32:24 +00:00
2004-04-16 21:22:13 +00:00
2004-12-18 16:41:27 +00:00
2004-12-27 19:03:56 +00:00
2004-07-20 16:08:49 +00:00
2005-01-03 18:11:00 +00:00
2004-12-27 19:03:56 +00:00
2003-03-09 20:31:07 +00:00
2005-01-06 16:36:40 +00:00
2004-05-16 16:38:27 +00:00