This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: pid problem found



> 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