pid problem found

John Mullee john@exmachina.net
Mon Feb 8 06:22:00 GMT 1999


> 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



More information about the Cygwin mailing list