delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/17/12:14:06

From: randolph AT pcx DOT ncd DOT com ("Randolph Fritz")
Subject: Re: 'jobs' builtin on beta 16
17 Oct 1996 12:14:06 -0700 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9610171012.ZM20148.cygnus.gnu-win32@hood.pcx.ncd.com>
References: <199610171004 DOT DAA08696 AT cirdan DOT cygnus DOT com>
Mime-Version: 1.0
In-Reply-To: Geoffrey Noer <noer@cygnus.com>
"Re: 'jobs' builtin on beta 16" (Oct 17, 3:04am)
X-Mailer: Z-Mail (3.0.1 04apr94)
Original-To: Geoffrey Noer <noer AT cygnus DOT com>, randolph AT pcx DOT ncd DOT com (Randolph Fritz)
Original-Cc: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Geof,

Thanks very much for your reply!  I really appreciate the attention.

I wrote:

>> Also, the "ps" output is very strange; would someone who's looked at the
code
>> care to comment on the mapping from Posix to NT processes.

> The "ps" command in gnu-win32 only shows the gnu-win32 processes.  You
> can kill such processes with "kill" and so on...  What's strange about
> it?  If you can be more specific, I'll try to answer...

Sure.  Here's a sample ps output:

bash$ ps
     PID     PPID  WIN32-PID   UID  COMMAND
    1000     1000        466   500  n:\bin\sh.exe
    1001     1000        424   500
 n:\win32app\Cygnus\H-i386-cygwin32\bin\ps.exe

Do I grasp correctly that cygwin32 maintains its own process table, and a
mapping from that table to Win32 process ids, which aren't necessarily
monotonically increasing?  Is the UID the NT internal UID?  I've never actually
seen it expressed numerically; all the NT tools show it as a user name.

Does gcc-win32 compile programs with text and data segments and are the text
segments shared as part of the implementation of fork?  How is forking of the
data segments handled--is page copying delayed until write as in modern Unixes?


-- 
Randolph Fritz
QA consultant
NCD/PCX division
randolph AT pcx DOT ncd DOT com

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019