diff options
author | Christopher Faylor <me@cgf.cx> | 2004-11-24 05:48:31 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-11-24 05:48:31 +0000 |
commit | c373c4a1f13d0814a32a7881be448c7e68e19ce9 (patch) | |
tree | 928b18c8e1bfaeb345781ac4987351f3ab028182 /winsup/cygwin/cygthread.cc | |
parent | fcba9e3c4c63a116777e9af5a03c32c94c07a97d (diff) | |
download | newlib-github/noreparent.zip newlib-github/noreparent.tar.gz newlib-github/noreparent.tar.bz2 |
* child_info.h (child_info_spawn::hexec_proc): Eliminate.github/noreparentnoreparent
* dcrt0.cc (dll_crt0_0): Remove hexec_proc stuff.
* fork.cc (fork_child): Remove call to pinfo_fixup_after_fork.
* pinfo.cc (set_myself): Close and zero pid_handle if set.
(pinfo_fixup_after_fork): Delete.
(proc_waiter): Don't close vchild.hProcess here. Do that when we are remove
the vchild from procs. Save hProcess as pid_handle only on first reparent
operation.
(pinfo::wait): Don't set pid_handle here.
(pinfo::alert_parent): Always try to send signal. If unsuccessful then close
and zero wr_proc_pipe.
* pinfo.h (pinfo::pinfo): Make sure that appropriate parts of the class are
zeroed on construction.
(pinfo::alert_parent): Take char argument.
(pinfo_fixup_after_fork): Delete declaration.
(hexec_proc): Ditto.
* sigproc.cc (remove_proc): Close pid_handle and hProcess if appropriate.
* spawn.cc (spawn_guts): Set cygheap->pid_handle on first exec.
Diffstat (limited to 'winsup/cygwin/cygthread.cc')
0 files changed, 0 insertions, 0 deletions