This is the mail archive of the cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Repost: process table shows already killed processes
- To: cygwin-developers@sourceware.cygnus.com
- Subject: Re: Repost: process table shows already killed processes
- From: Mumit Khan <khan@xraylith.wisc.EDU>
- Date: Thu, 11 Mar 1999 16:54:16 -0600
- Delivered-To: listarch-cygwin-developers@sourceware.cygnus.com
- Delivered-To: mailing list cygwin-developers@sourceware.cygnus.com
- In-reply-to: Your message of "Thu, 11 Mar 1999 11:14:21 EST." <19990311111421.A887@cygnus.com>
- Mailing-List: contact cygwin-developers-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-developers-owner@sourceware.cygnus.com
Chris Faylor <cgf@cygnus.com> writes:
> I can't explain the behavior (which is why I haven't responded) but
> I can point out that if you are using some non-cygwin utility to kill
> the processes then the processes won't be able to clean themselves
> out of the cygwin process table.
This point is very important -- the NT kill program will *not* detach
any DLLs, and you may end up in an inconsistent, or at the very least,
a confused state. This took me a while to figure out (and of course
found the MSDJ article right after ...).
The MS docs do talk about the "right" way to kill, and TerminateProcess
as used by KILL.EXE is not it.
Regards,
Mumit