reify

fun reify(actuallyReify: Boolean, processInterrupt: Boolean, statistic: Statistic): StackReifier

Answer a StackReifier which can be used for reifying the current stack by returning it out to the run loop. When it reaches there, a lambda embedded in this reifier will run, performing an action suitable to the provided flags.

Return

The new StackReifier.

Parameters

actuallyReify

Whether to actually record the stack frames as A_Continuations. If false, this state will simply be discarded.

processInterrupt

Whether a pending interrupt should be processed after reification.

statistic

A Statistic to record when a reification happens.