Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <428A6699.8020300@x-ray.at>
Date: Tue, 17 May 2005 23:48:09 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8b) Gecko/20050217
MIME-Version: 1.0
To: Sonam Chauhan <sonam.chauhan@ce.com.au>
CC: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: Re: problems in Perl process management
References: <55E0A3E94323974F83CFC5AAB96F68B8014192F1@snnexc03.in.ce.com.au>
In-Reply-To: <55E0A3E94323974F83CFC5AAB96F68B8014192F1@snnexc03.in.ce.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Sonam Chauhan schrieb:
> Reini - Thanks for replying man.
>>I didn't complain yet upstream at rt.cpan.org because I wanted to wait
>>for our 5.8.7 release. But you can do it by yourself also, 
> 
> 
> OK, I'm not that talented, so I didn't try fixing this bug, but I did report
> it with a better testcase here:
> 	http://rt.cpan.org/NoAuth/Bug.html?id=12840
> 
> 
>>or fix it in this module XS. It's really easy with the cygwin provided 
>>translation functions.
>>   See http://sourceware.org/ml/cygwin/2005-02/msg00154.html
> 
> I had a look at your post, but out of curiosity, isn't it about adding
> functionality for looking up the WINPID from the Cygwin process ID? Is the
> fix really that simple? 

Yes, that simple.

> After all, Proc::ProcessTable misreports the PID and
> PPID only under certain conditions -- this would indicate a complex issue in
> Proc::ProcessTable XS code, right?

No. Just the translation is needed, but one has to specify somehow which 
  pid's he wants. The cygwin pid's or the winpid's.
Both have their merits and usecases.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://phpwiki.org/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

