Companion

object Companion

Properties

Link copied to clipboard

Answer the loader bound to the receiver, or null if the receiver is not a loader fiber.

Link copied to clipboard

Check if this fiber is allowed to be performing styling operations. For it to be allowed, the fiber must have been launched in the VM by newStylerFiber. Answer true if the fiber is permitted to style, otherwise false.

Link copied to clipboard

The fiber's current A_Continuation if suspended, otherwise nil.

Link copied to clipboard
Link copied to clipboard

Dispatch to the descriptor.

Link copied to clipboard

Dispatch to the descriptor.

Link copied to clipboard

Answer the continuation that accepts the Throwable responsible for abnormal termination of this fiber.

Link copied to clipboard

Dispatch to the descriptor.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The A_Set of A_Fibers waiting for this one to end.

Link copied to clipboard

Answer this fiber's current priority.

Link copied to clipboard

Answer the continuation that accepts the result produced by the receiver's successful completion.

Link copied to clipboard

The primitive A_Function that's suspending the fiber.

Link copied to clipboard

The TextInterface for routing I/O to and from this fiber.

Link copied to clipboard

Answer the unique identifier of this A_Fiber fiber.

Link copied to clipboard

The set of variables that were read before written. Only variables still live are included in this set; the trace mechanism retains variables only weakly.

Link copied to clipboard

Answer the set of variables that were written. Only variables still live are included in this set; the trace mechanism retains variables only weakly.

Link copied to clipboard

Functions

Link copied to clipboard

Attach the given debugger to this fiber. Do nothing if the fiber is already attached to another debugger.

Link copied to clipboard
Link copied to clipboard
fun A_Fiber.fiberNameSupplier(supplier: () -> A_String)
Link copied to clipboard
Link copied to clipboard

Extract the current A_Set of pojo-wrapped actions to perform when this fiber is next reified. Replace it with the empty set.

Link copied to clipboard

Is the specified interrupt request flag set for the receiver?

Link copied to clipboard

Record access of the specified variable by this fiber.

Link copied to clipboard

This fiber was captured by a debugger. Release it from that debugger, allowing it to continue running freely when/if its state indicates it should.

Link copied to clipboard
fun A_Fiber.setSuccessAndFailure(onSuccess: (AvailObject) -> Unit, onFailure: (Throwable) -> Unit)

Set the success and failure actions of this fiber. The former runs if the fiber succeeds, passing the resulting AvailObject, and also stashing it in the fiber. The latter runs if the fiber fails, passing the Throwable that caused the failure.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Ensure the specified action is invoked with this fiber's reified continuation as soon as it's available. Note that this triggers an interrupt on the fiber to ensure a timely capture of the stack.