OptionalargvOptional argv
Channel offset within the shared Memory for this thread's syscall channel
OptionalcwdOptional cwd
OptionalenvOptional env vars to set up in the program
OptionalforkAddress of the fork save-buffer in memory (used for fork child rewind)
OptionalforkOptionalforkEntry-point override for fork children created by a non-main thread.
A pthread worker that calls fork() unwinds through its pthread entry
function, not _start. The fork child must therefore enter that function
directly before wpk_fork_rewind_begin can replay back to the saved fork
site.
OptionalisIf true, this is a fork child — drive wpk_fork_rewind_begin instead of normal _start
OptionalkernelKernel's advertised ABI version (read from its __abi_version
export at kernel startup). Worker compares against the program's
own __abi_version export and refuses mismatches.
Shared Memory for this process (also shared with CentralizedKernelWorker)
User program bytes (compiled with channel_syscall.c — no kernel imports)
OptionalprogramPre-compiled WebAssembly module (avoids recompilation in web workers)
OptionalptrPointer width: 4 for wasm32, 8 for wasm64. Defaults to 4.
Init message for centralized-mode Workers. These Workers don't instantiate a kernel — they use channel IPC to communicate with the CentralizedKernelWorker.