This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: howto register process


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]