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 X-Qmail-Scanner-Mail-From: kamen AT cybuild DOT com via main.evrocom.net X-Qmail-Scanner: 1.23st (Clear:RC:1(212.104.100.183):. Processed in 0.035658 secs Process 91341) To: cygwin AT cygwin DOT com Subject: Re: howto register process References: <873bzfdyvh DOT fsf AT zlatenlist DOT homelinux DOT net> <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> From: Kamen TOMOV X-Home-Page: http://www.cybuild.com Organization: CYBUILD Date: 12 Nov 2004 20:02:05 +0200 In-Reply-To: <20041112175603.GB28975@trixie.casa.cgf.cx> Message-ID: <87u0rvdjz6.fsf@zlatenlist.homelinux.net> Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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. Regards, -- Kamen TOMOV -- 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/