Re: WIndows process table and process image.
- From: "anton bassov"<xxx@xxxxxxx>
- Date: Thu, 8 Jun 2006 21:40:30 -0500
Hi mate
There is no such thing as "zombie process" under Windows, because, strictly
speaking, there is no parent-child relationship under Windows. After a child
process has been spawned, it lives its separate life that is totally
unrelated to that of a parent process - it will keep on running even after
its parent process gets terminated.
As you have properly pointed out, when a process terminates, all handles
that it has opened get closed. Therefore, when the parent process terminates,
all its handles are closed, so that reference count on the child process
gets decremented. When the reference count gets down to zero, the process
gets removed from the table.
As you can see it yourself, this is not really a "zombie process" that has
no chance to get removed from the table -
with such approach the process will get removed from the table sooner or
later, so that the very concept of "zombie processes" does not apply to
Windows
Anton Bassov
.
- Follow-Ups:
- Re: WIndows process table and process image.
- From: Arkady Frenkel
- Re: WIndows process table and process image.
- From: Chris
- Re: WIndows process table and process image.
- References:
- Re: WIndows process table and process image.
- From: Chris
- Re: WIndows process table and process image.
- Prev by Date: Re: Re:Great time in France
- Next by Date: Re: WIndows process table and process image.
- Previous by thread: Re: WIndows process table and process image.
- Next by thread: Re: WIndows process table and process image.
- Index(es):
Relevant Pages
|