Expand description
Placement policy for child-interpreter subtasks.
Worker placement is the default. Embedders with a deliberately single-threaded host may scope an execution tree to current-thread placement explicitly.
Structs§
- Subtask
Placement Parse Error - An operator supplied a placement outside the runtime-owned vocabulary.
Enums§
- Subtask
Placement - Where a subtask runs.
Constants§
- PLACEMENT_
ENV - The environment variable that selects placement for a whole process.
- PLACEMENT_
VALUES - Canonical values accepted for
PLACEMENT_ENV. The environment registry consumes this same vocabulary, so startup validation and placement parsing cannot drift.
Functions§
- placement
- The placement new subtasks created on this thread will use.
- scope_
placement - Run
innerwithplacementinstalled for every subtask its execution tree creates. The override rides [AmbientExecutionScope], so it survives the awaits and thread migrations insideinner.