delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/12/13:06:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 12 Nov 2004 13:08:58 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: howto register process
Message-ID: <20041112180858.GB222609@Worldnet>
References: <873bzfdyvh DOT fsf AT zlatenlist DOT homelinux DOT net> <NUTMEG0ApIWXzNbrDYs000006c2 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <87sm7fxeza DOT fsf AT zlatenlist DOT homelinux DOT net> <20041112154218 DOT GI26737 AT trixie DOT casa DOT cgf DOT cx> <874qjvezwn DOT fsf AT zlatenlist DOT homelinux DOT net> <20041112175603 DOT GB28975 AT trixie DOT casa DOT cgf DOT cx> <87u0rvdjz6 DOT fsf AT zlatenlist DOT homelinux DOT net>
Mime-Version: 1.0
In-Reply-To: <87u0rvdjz6.fsf@zlatenlist.homelinux.net>
User-Agent: Mutt/1.4.1i

On Fri, Nov 12, 2004 at 08:02:05PM +0200, Kamen TOMOV wrote:
> On Fri, Nov 12 2004, Christopher Faylor wrote:
> 
> > *Why* are you calling cygwin_winpid_to_pid on the pids?  If you are
> > getting the pid from the return value of fork they are cygwin pids.
> > You don't call cygwin_winpid_to_pid on them.  A normal cygwin
> > program should not be using cygwin_winpid_to_pid.
> > 
> > As Pierre points out in the next message, what you are describing
> > seems normal for starting a service in certain scenarios but you
> > still haven't explained why you think you need cygwin_winpid_to_pid.
> > 
> > cgf
> 
> The only reason why I call cygwin_winpid_to_pid is that I am
> experimenting. The real problem is that kill() does not work.

To facilate your experimenting, please be assured that kill
won't work if ps doesn't show the process.

Pierre

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019