This is the mail archive of the cygwin 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]

Re: About "defunct" processes


Angelo Graziosi <angelo.graziosi <at> alice.it> writes:


> $ ps
>        PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
>       2648       1    2648       2648  ?       1001 12:01:38 /usr/bin/mintty
>       3724    2648    3724       2012  pty0    1001 12:01:38 /usr/bin/bash
>       3176    3724    3176       3832  pty0    1001 12:02:14 /usr/bin/ps
>       1904    2648    2648       1760  ?       1001 12:01:41 
> /usr/bin/mintty <defunct>
> 
> Why that "defunct" process? I don't remember having seen that before on 
> my old Cygwin32 installation.

Hi,

it looks like the cygwin process handling becomes more unix like :-)

in unix exach process has an entry in the process list unless its parent
has do a wait call on it to get the information abouit process termination.

if the parent process teminates the init process will become the new parent
and will do this wait if not already done





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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