Path: utzoo!utgpu!attcan!uunet!mcrware!davely From: davely@mcrware.UUCP (Dave Lyons) Newsgroups: comp.os.os9 Subject: Re: Help with OS-9 Kernel Summary: One is dying the other is dead Keywords: condemed process status Message-ID: <834@mcrware.UUCP> Date: 10 Nov 88 16:22:57 GMT References: <292@bsovax.UUCP> Organization: Microware Systems Corp., Des Moines, Ia. Lines: 22 In article <292@bsovax.UUCP>, keith@bsovax.UUCP (Keith Dixon) writes: > Can anyone tell me what the difference is between a 'dead' status and a > 'condemned' status in an OS-9 Process Descriptor ?? A process that is condemned has been marked to be exited by the Kernel. This is usually the result of a process receiving a deadly signal like keyboard quit or keyboard interrupt. Drivers and/or file managers typ- ically check for condemned processes after a sleep so that they can abort io on a process that is dying. A dead process on the other hand is one that has finished dying in that all its resources (paths, memory, etc.) have been released. The Kernel keeps around the "dead body" until the parent process can be notified. You really shouldn't have to concern yourself with dead processes in a driver since the process will be comp- letely through using the io system by the time it is dead. I hope this explanation helps. Dave Lyons -------------------------------------------------------------- | The above is a Dave Lyons production so Microware is not | | to be held responsible for it. | --------------------------------------------------------------