d3196999f4
For some workloads many tasks are spawned at a time. This requires locking and unlocking the executor's inner lock every time you spawn a task. If you spawn many tasks this can be expensive. This commit exposes a new "spawn_batch" method on both types. This method allows the user to spawn an entire set of tasks at a time. Closes #91 Signed-off-by: John Nunley <dev@notgull.net> |
||
---|---|---|
.. | ||
different_executors.rs | ||
drop.rs | ||
larger_tasks.rs | ||
local_queue.rs | ||
panic_prop.rs | ||
spawn_many.rs |