delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/08/14:22:53

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Envelope-To: gnu-win32 AT cygnus DOT com
Sender: root AT exmachina DOT net
Message-ID: <36BEF2B3.4A3B0C4C@exmachina.net>
Date: Mon, 08 Feb 1999 15:20:35 +0100
From: John Mullee <john AT exmachina DOT net>
Organization: Ex Machine Interactive Architects
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.32 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: jmm AT raleigh DOT ibm DOT com, Cygnus32 <gnu-win32 AT cygnus DOT com>
Subject: Re: pid problem found
References: <199902080327 DOT WAA24699 AT jmm DOT raleigh DOT ibm DOT com>

> PROCESS_INFORMATION structure has a dwProcessId entry that's usally
> between 3 to 5 times the value of the real pid.

This sounds very wierd.

The createprcess documentation says that the PID returned
is valid until the process ends;
it also says that the dwCreation flags can be ORed with
CREATE_NEW_CONSOLE and CREATE_NEW_PROCESS_GROUP, and that
the resulting pid can be used with OpenProcess.

Would it be possible that this 'pid' is something other
than that id seen in taskmanager? does cygwin's
waitpid use the CreateProcess-pid? or something else?

Could you send me the relevant source?
Are you running W95/98, or NT?

John

--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


- Raw text -


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