Struct ParallelRowsOperation

A caller-scoped row execution context.

struct ParallelRowsOperation;

The context may be used for more than one phase. Each forRows call is a full barrier: it does not return until every callback started for that phase has returned. Worker indices are stable within the operation and are never used concurrently by two callbacks in one phase.

Threads are owned by each phase and are joined before the phase returns; this deliberately does not introduce a persistent scheduler or pool.