Delivered-To: listarch-cygwin@sourceware.cygnus.com
Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Delivered-To: mailing list cygwin@sourceware.cygnus.com
X-Envelope-To: gnu-win32@cygnus.com
Sender: root@exmachina.net
Message-ID: <36BEF2B3.4A3B0C4C@exmachina.net>
Date: Mon, 08 Feb 1999 15:20:35 +0100
From: John Mullee <john@exmachina.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@raleigh.ibm.com, Cygnus32 <gnu-win32@cygnus.com>
Subject: Re: pid problem found
References: <199902080327.WAA24699@jmm.raleigh.ibm.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> 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@sourceware.cygnus.com


