Maybe these ones<br><br>(['Testing...' printString] forkAt: Processor lowestPriority) terminate resume.<br>(['Testing...' printString] forkAt: Processor systemBackgroundPriority) terminate resume.<br>(['Testing...' printString] forkAt: Processor userBackgroundPriority) terminate resume.<br>
(['Testing...' printString] forkAt: Processor userSchedulingPriority) terminate resume.<br><br>(['Testing...' printString] forkAt: Processor userInterruptPriority) terminate resume.<br>(['Testing...' printString] forkAt: Processor lowIOPriority) terminate resume.<br>
(['Testing...' printString] forkAt: Processor highIOPriority) terminate resume.<br>(['Testing...' printString] forkAt: Processor highestPriority) terminate resume. <br><br><div><span class="gmail_quote">2008/3/26, Andreas Raab <<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Oh, and one more interesting issue:<br> <br> [] newProcess terminate isTerminated ==> false<br> <br> I think it's time to take this up with a few SUnit tests. How about these:<br> <br> self assert: [] fork terminate isTerminated.<br>
self assert: [] newProcess terminate isTerminated.<br> <br> self should:[ [] fork terminate resume ] raise: Error.<br> self should:[ [] newProcess terminate resume ] raise: Error.<br> <br> Any other interesting ones?<br>
<br> Cheers,<br> <br> - Andreas<br> <br><br> Andreas Raab wrote:<br> > Hi -<br> ><br> > Here is an interesting one:<br> ><br> > p := [self inform: 'Oh, noes'] fork.<br> > p terminate.<br> > p resume.<br>
><br> > This works fine on all Squeak versions that I've tried it on. Do people<br> > agree that this is a bug and should raise an error or is there any<br> > reason why it should behave the way it does right now?<br>
><br> > Note that the above also works for:<br> ><br> > p := [self inform: 'Oh, noes'] newProcess.<br> > p terminate.<br> > p resume.<br> > p terminate.<br> > p resume.<br> ><br>
> etc.<br> ><br> > Cheers,<br> > - Andreas<br> ><br> ><br> ><br> <br> <br> </blockquote></div><br>