This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
1.3.20 : getpgid returns pid != -1 when specified pid no longer exists
- From: gavin bowlby <gavin_bowlby at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 1 Apr 2003 19:06:45 -0800 (PST)
- Subject: 1.3.20 : getpgid returns pid != -1 when specified pid no longer exists
$ uname -a
CYGWIN_NT-5.0 reptilicus 1.3.20(0.73/3/2) 2003-02-08
12:10 i686 unknown unknown
Cygwin
Windows 2K box.
Process A creates Process B.
I kill Process B with a "kill -9 <process B's pid>"
Process A then does a:
sid = getpgid(pid));
pid is set to process B's pid
sid is not returned as -1, even though process B no
longer exists, as can be seen with a "ps" command.
This occurs repeatedly.
Is this correct behavior?
Regards,
Gavin Bowlby
gavin_bowlby at yahoo dot com
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/