Skip to content

Commit 8e95270

Browse files
committed
turbo-tasks: add scope_self_feeding, a self-feeding parallel scope
A self-feeding parallel scope: jobs run on a shared work-queue and any job may enqueue more, drained by the runtime workers plus the calling thread. Deadlock-safe on thread-limited/contended runtimes (helpers are a pure optimization, not required for progress). Used to parallelize work pools that discover more work as they run.
1 parent dd28201 commit 8e95270

1 file changed

Lines changed: 616 additions & 1 deletion

File tree

  • turbopack/crates/turbo-tasks/src

0 commit comments

Comments
 (0)