diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-17 22:47:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-17 22:47:32 +0000 |
commit | 1f8331ae8b5eb14f9836d65ac0641c79e136c595 (patch) | |
tree | 86ecdceb366d42cd7b86301bfc9abd09e1a685fd /winsup/cygwin/pinfo.h | |
parent | 1ed95be609c9af283fe0c1b21b760b3abc0792f8 (diff) | |
download | cygnal-1f8331ae8b5eb14f9836d65ac0641c79e136c595.tar.gz cygnal-1f8331ae8b5eb14f9836d65ac0641c79e136c595.tar.bz2 cygnal-1f8331ae8b5eb14f9836d65ac0641c79e136c595.zip |
* pinfo.h (pinfo::operator ==): Add a way to check for _pinfo types.
* sigproc.cc (proc_subproc): Ensure that zombie is removed when SIGCHLD ==
SIG_IGN but still allow wait()ing threads to wake up.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r-- | winsup/cygwin/pinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index 279556371..b0ddb6702 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -144,6 +144,7 @@ public: _pinfo *operator -> () const {return procinfo;} int operator == (pinfo *x) const {return x->procinfo == procinfo;} int operator == (pinfo &x) const {return x.procinfo == procinfo;} + int operator == (_pinfo *x) const {return x == procinfo;} int operator == (void *x) const {return procinfo == x;} int operator == (int x) const {return (int) procinfo == (int) x;} int operator == (char *x) const {return (char *) procinfo == x;} |