This is the mail archive of the cygwin-talk 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] |
Other format: | [Raw text] |
On 12/2/2013 12:56, Christopher Faylor wrote:
On Mon, Dec 02, 2013 at 12:35:00PM -0700, Warren Young wrote:This happens because POSIX PIDs are in a table that lives in cygwin1.dll's memory space, and because there are two DLLs, there are two different PID tables.Actually POSIX pids are Windows PIDs. The distinction becomes fuzzy after an exec, though, where the Cygwin PID continues to be the PID of the process which previously exec'ed it.
Of the four PID values this pair of programs prints, shouldn't at least two should be the same, then? I get four different values here:
PARENT: My PID is 5048; created child PID 5684 CHILD: My PID is 3108; my parent's PID is 1.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |