Expand description
Private, unsupported stack backend for vthread; not an independent public API.
Direct downstream use has no compatibility contract. Cleanup mount callbacks are runtime integration hooks and must succeed. A persistent mount failure during lexical scope exit aborts: borrowed executable stacks cannot safely escape their environment.
Structs§
- Fiber
- One carrier-local stackful execution context.
- Fiber
Lease - An internal carrier-local lease; scope exit revokes its executable stack.
- Fiber
Scope - Lexical ownership for a bounded set of borrowed, non-Send stacks.
- Park
Request - Scheduler data supplied when a task parks.
- Park
Token - Identity for one generation of a parking operation.
- Stack
Pool - A bounded cache of guard-page-backed stacks.
- Stack
Pool Snapshot - Operational counters for a stack pool.
- Suspend
Error - Suspension was requested without a mounted fiber.
Enums§
- Fiber
State - The outcome of mounting a fiber once.
- Suspension
- A reason a mounted fiber returned control to its carrier.
Functions§
- fiber_
scope - Runs a lexical borrowed-stack owner; leaked leases are inert after this returns.
- suspend
- Suspends the currently mounted fiber.