diff options
author | Christopher Faylor <me@cgf.cx> | 2005-01-17 04:12:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-01-17 04:12:08 +0000 |
commit | 37d5841f83200da2d481d6b01c111a37acf8ca39 (patch) | |
tree | c592a64c0ad15e0fe42b40e6481797d183bd41a3 /winsup/cygwin/autoload.cc | |
parent | 459a95619788793541553674eb5bb59888aa7f6a (diff) | |
download | cygnal-37d5841f83200da2d481d6b01c111a37acf8ca39.tar.gz cygnal-37d5841f83200da2d481d6b01c111a37acf8ca39.tar.bz2 cygnal-37d5841f83200da2d481d6b01c111a37acf8ca39.zip |
* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.
* pinfo.cc (pinfo::exit): Use renamed function.
(proc_waiter): Ditto. Make a copy of input argument to avoid problems when
procs array is shuffled. Flag when copy is made so that remove_proc knows when
it is safe to reshuffle.
* sigproc.cc (proc_terminate): Don't flag process_state as PID_EXITED.
(remove_proc): Wait for waiter to finish copying pinfo element before moving it
(an actual wait should be an extremely rare event).
Diffstat (limited to 'winsup/cygwin/autoload.cc')
0 files changed, 0 insertions, 0 deletions