[squeak-dev] Resuming a terminated process

Michael van der Gulik mikevdg at gmail.com
Thu Mar 27 07:44:18 UTC 2008


On Wed, 26 Mar 2008 17:42:24 -0700
Andreas Raab <andreas.raab at gmx.de> wrote:

> Hi -
> 
> Here is an interesting one:
> 
>    p := [self inform: 'Oh, noes'] fork.
>    p terminate.
>    p resume.
> 
> This works fine on all Squeak versions that I've tried it on. Do people 
> agree that this is a bug and should raise an error or is there any 
> reason why it should behave the way it does right now?

Argh! A zombie process!

After "p terminate", p should be a terminated process. Terminated processes are dead, and I like my dead processes to stay dead.

Gulik.

-- 
Michael van der Gulik <mikevdg at gmail.com>



More information about the Squeak-dev mailing list