Module grafos_worker_v0

Module grafos_worker_v0 

Source
Expand description

grafos_worker_v0 — guest-facing WASM ABI for shared-memory tasklets.

This module declares the import contract that a shared-memory tasklet guest binary uses to talk to the worker runtime: worker identity, the single tasklet-wide barrier, cancellation observation, and the linear memory layout of the shared region and per-worker scratch.

The Phase 48.3 P3 deliverable is the SDK surface and ABI declaration only — the runtime that backs these symbols is implemented separately (P1). On wasm32 targets the externs link to host-provided imports. On native targets a small mock backs them so unit tests can exercise the SDK without a live runtime.

See docs/grafos-tasklet-abi-v1.md for the normative spec.

Re-exports§

pub use mock::*;

Modules§

mock
Host-side mock for grafos_worker_v0.