gmux - v0.1.0
    Preparing search index...

    Interface Snapshot

    everything a machine needs to continue in a fresh isolate: linear memory plus host state

    interface Snapshot {
        core?: number;
        cpuZero: number;
        dl?: DlSaved[];
        input: number[];
        memory: Uint8Array;
        now: string;
        owners?: Uint16Array<ArrayBufferLike>;
        ports?: number[];
        ready: number[];
        readyAt?: number[];
        runners: SavedRunner[];
        scratch: number;
        stats: MachineStats;
        streamNext?: number;
        streams?: { borrows: boolean; id: number; port: number }[];
        syncWrites?: boolean;
        version: 1;
    }
    Index
    core?: number

    where the C core's region sat in memory, when the machine ran one

    cpuZero: number

    the boot cpu's id

    dl?: DlSaved[]

    processes' dlopen'ed side modules

    input: number[]

    console input not yet read

    memory: Uint8Array

    the machine's linear memory: a view over the live memory until the caller copies it

    now: string

    the kernel clock at checkpoint, in nanoseconds as a decimal string

    owners?: Uint16Array<ArrayBufferLike>

    the kernel's page owner tags at checkpoint, which a lazy restore defers pages by

    ports?: number[]

    the ports programs listened on (kernel patch 0031), once per listener

    ready: number[]

    tasks ready to run, in order, by id

    readyAt?: number[]

    the same, by index into runners: a released task's id may name a newer task

    runners: SavedRunner[]

    every task, parked

    scratch: number

    where the unwind scratch region sat in memory

    the counters at checkpoint

    streamNext?: number
    streams?: { borrows: boolean; id: number; port: number }[]

    the streams a client held parked between two requests (the kernel's side of each is in memory), and the id the next stream takes; absent when there were none

    syncWrites?: boolean

    a program had opened a file with O_DSYNC

    version: 1

    the snapshot format