[squeak-dev] Re: What does 19th primitive (Simulation guard) do?
=?EUC-KR?B?sK3B+L/A?=
jinoh67 at gmail.com
Sun Mar 11 06:10:11 UTC 2012
I found that *method* in these methods:
not *method*, but *primitive*
2012/3/11 °Áø¿À <jinoh67 at gmail.com>
> What does the following primitive do?
>
> newProcess
> "Answer a Process running the code in the receiver. The process is not
> scheduled."
> *<primitive: 19> "Simulation guard"
> * ^Process
> forContext:
> [self value.
> Processor terminateActive] asContext
> priority: Processor activePriority
>
> I found that method in these methods:
>
> BlockClosure newProcess {scheduling}
> BlockClosure newProcessWith: {scheduling}
> BlockContext newProcess {scheduling}
> BlockContext newProcessWith: {scheduling}
> ControlManager activeController: {accessing}
> ControlManager scheduleActive: {scheduling}
> Debugger class openContext:label:contents: {class initialization}
> Debugger class openInterrupt:onProcess: {opening}
> SyntaxError class open: {instance creation}
>
> It seems the methods works even though I delete the primitive.
> I couldn't find any documentation about it, so what does the primitive do?
> Can any methods contain the primitive?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120311/af91019e/attachment.htm
More information about the Squeak-dev
mailing list
|