Next: , Up: Process   [Index]


1.134.1 Process: accessing

externalInterruptsEnabled

Answer whether the receiver is executed with interrupts enabled

name

Answer the user-friendly name of the process.

name: aString

Give the name aString to the process

priority

Answer the receiver’s priority

priority: anInteger

Change the receiver’s priority to anInteger

queueInterrupt: aBlock

Force the receiver to be interrupted and to evaluate aBlock as soon as it becomes the active process (this could mean NOW if the receiver is active). If the process is temporarily suspended or waiting on a semaphore, it is temporarily woken up so that the interrupt is processed as soon as the process priority allows to do. Answer the receiver.

suspendedContext

Answer the context that the process was executing at the time it was suspended.

suspendedContext: aContext

Modify the context that the process was executing at the time it was suspended.

valueWithoutInterrupts: aBlock

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