Go to the first, previous, next, last section, table of contents.


getStackframe[

Function: getStackframe[ { n job -> [block] }
file: job.t
package: muf
status: alpha

The getStackframe[ function is the primary (low-level) window into the loop stack. It returns a keyval block describing the given stackframe (n must be a non-negative integer less than job countStackframes).

If @$s.actingUser doesn't "control" the stackframe in question, the getStackframe[ return block contains only

[ :owner o |

where o is the "owner" of the stackframe; otherwise it returns a full dump of the contents of the stackframe. For a precise description of this dump, see section `Loop Stacks' in Loop Stacks.

The "owner" of a stackframe is the value of @$s.actingUser at the time the stackframe was created. A job "controls" a stackframe iff @$s.actingUser for the job is the owner of the stackframe, or else is root running with the OMNIPOTENT bit set.


Go to the first, previous, next, last section, table of contents.