Expand description
Host-side mock for grafos_worker_v0.
Backed by a thread-local WorkerSlot. Tests (or the SDK’s
SharedTaskletBuilder mock launch path) install a slot via
with_worker_slot before calling any fb_* shim.
Structs§
- Worker
Slot - State visible to a single worker lane (or the coordinator) inside the mock runtime.
Functions§
- fb_
barrier_ wait - fb_
fuel_ checkpoint - Phase 48.13 W2b mock implementation of
fb_fuel_checkpoint. - fb_
scratch_ len - fb_
scratch_ ptr - fb_
shared_ len - fb_
shared_ ptr - fb_
tasklet_ cancelled - fb_
worker_ count - fb_
worker_ index - mock_
clear - Test helper: clear any installed slot.
- mock_
set_ single_ worker - Test helper: install a single-thread slot, run
f, restore. - with_
worker_ slot - Install
slotfor the duration off(this thread only).