This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: Cygwin 1.1.0 gdb troubles


On Wed, Apr 19, 2000 at 09:01:38AM -0400, Christopher Jones wrote:
>Seems like it would make more sense to at least hide these cygwin pids
>and let users always use windows pids for ps, kill, $$ in a shell, etc.
>So the PID and PPID values would be the real windows values and cygwin
>pids would disappear into the internals somewhere...  probably a lookup
>table if you really need to have them still.  Something like this would
>be more seemless, wouldn't it?

The main reason for cygwin pids is that there is no corresponding
exec*() style interface in Win32 land.  Most programs which use fork/exec
also rely on the fact that the exec'ed process has the same PID as the
fork.  There is no way to do this using the Win32 API.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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