Expand description
A counting pool of tokens: how a run bounds the commands it runs at once.
run.gate_jobs is one pool for the whole process. Every §5 command and
Verification row — from any lane’s gate, re-check or preflight — holds a
token while it runs, so however many lanes gate at once, the machine
runs at most that many commands. How a command parallelizes inside
itself is its project’s business: the pool bounds the commands vitrify
runs, and nothing more.
Waiters are served by priority (higher first), then in the order they arrived: only the first in line takes a token. A token goes back when it is dropped — on every path out of the code that took it, a panic included.