[squeak-dev] Resuming a terminated process

Andreas Raab andreas.raab at gmx.de
Thu Mar 27 00:42:24 UTC 2008


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?

Note that the above also works for:

   p := [self inform: 'Oh, noes'] newProcess.
   p terminate.
   p resume.
   p terminate.
   p resume.

etc.

Cheers,
   - Andreas




More information about the Squeak-dev mailing list