Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20030402030645.10775.qmail@web21205.mail.yahoo.com> Date: Tue, 1 Apr 2003 19:06:45 -0800 (PST) From: gavin bowlby Subject: 1.3.20 : getpgid returns pid != -1 when specified pid no longer exists To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii $ 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 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/