gmux - v0.1.0
    Preparing search index...

    Interface SavedRunner

    one kernel task in a snapshot: where it parked and the stacks it unwound into bytes

    interface SavedRunner {
        entry: Entry;
        halted: boolean;
        id: number;
        idle: { remaining: string | null; word: number } | null;
        kernelStack: Uint8Array<ArrayBufferLike> | null;
        kill: boolean;
        name: string;
        program:
            | {
                entry: "start"
                | "clone";
                globals: [string, number][];
                stackPointer: number;
            }
            | null;
        released?: boolean;
        saved: number[]
        | null;
        signal?: HandlerStacks | null;
        started: boolean;
        tag?: number;
        unzeroed?: number;
        user: { dataStart: number; hash: string; tableStart: number } | null;
        userStack: Uint8Array<ArrayBufferLike> | null;
        value: number;
        where: "kernel" | "user" | null;
    }
    Index

    entry

    entry: Entry

    how the task started: the boot cpu, a secondary cpu, or a fork

    halted: boolean

    whether it stopped the machine

    id: number

    the task's task_struct address (a cpu's: its idle task's)

    idle: { remaining: string | null; word: number } | null

    remaining is null for no deadline; an overdue deadline is saved as 0

    kernelStack: Uint8Array<ArrayBufferLike> | null

    the kernel frames of its park, as asyncify data

    kill: boolean

    whether it was released while running and ends at its next park

    name: string

    the task's name when it was created, for logs

    program:
        | {
            entry: "start"
            | "clone";
            globals: [string, number][];
            stackPointer: number;
        }
        | null

    the program instance's entry, stack pointer and exported mutable globals

    released?: boolean

    the kernel released it while it still had a turn in the ready queue to take

    saved: number[] | null

    its values of the shared kernel instance's five task globals, put back before it resumes

    signal?: HandlerStacks | null

    a signal handler parked on a stack of its own, unwound before the frames it interrupted

    started: boolean

    whether its first entry into the kernel has run

    tag?: number

    the page owner tag of its process (kernel patch 0014), for a lazy restore

    unzeroed?: number

    the bytes of its data mapping an exec in progress left to the host to zero

    user: { dataStart: number; hash: string; tableStart: number } | null

    the program it runs: registry hash, data and table bases

    userStack: Uint8Array<ArrayBufferLike> | null

    its user frames: asyncify data, or an evacuated program's spilled frames

    value: number

    the value its park returns when it resumes

    where: "kernel" | "user" | null

    the side of the syscall boundary it parked on