wasm-posix-host
    Preparing search index...

    Interface ThreadPageAllocatorOptions

    interface ThreadPageAllocatorOptions {
        firstBasePage?: number;
        firstSlotStartPage?: number;
        maxPageExclusive: number;
        ptrWidth?: 4 | 8;
        reservedSlots?: number;
        reserveSlotStartPage?: () => number;
    }
    Index

    Properties

    firstBasePage?: number

    First page whose start address holds a thread channel.

    firstSlotStartPage?: number

    First page whose start address begins a pthread slot.

    maxPageExclusive: number

    Exclusive upper page bound for control-arena allocations.

    ptrWidth?: 4 | 8

    Pointer width of the process memory, used when growing memory64.

    reservedSlots?: number

    Maximum concurrent pthread slots for this process.

    reserveSlotStartPage?: () => number

    Dynamically reserve a fresh pthread slot start page when no free slot exists.