Next: , Previous: , Up: BlockClosure   [Index]


1.11.7 BlockClosure: multiple process

fork

Create a new process executing the receiver and start it

forkAt: priority

Create a new process executing the receiver with given priority and start it

forkWithoutPreemption

Evaluate the receiver in a process that cannot be preempted. If the receiver expect a parameter, pass the current process.

newProcess

Create a new process executing the receiver in suspended state. The priority is the same as for the calling process. The receiver must not contain returns

newProcessWith: anArray

Create a new process executing the receiver with the passed arguments, and leave it in suspended state. The priority is the same as for the calling process. The receiver must not contain returns

valueWithoutInterrupts

Evaluate aBlock and delay all interrupts that are requested to the active process during its execution to after aBlock returns.

valueWithoutPreemption

Evaluate the receiver with external interrupts disabled. This effectively disables preemption as long as the block does not explicitly yield control, wait on semaphores, and the like.