async-executor/tests
John Nunley d3196999f4 feat: Add a way to batch spawn tasks
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>
2024-03-30 08:18:14 -07:00
..
different_executors.rs Fix a bug where TLS would become None (#55) 2023-09-27 20:01:15 -07:00
drop.rs feat: Add a way to batch spawn tasks 2024-03-30 08:18:14 -07:00
larger_tasks.rs chore: Fix MIRI failure in larger_tasks 2024-03-25 06:51:06 -07:00
local_queue.rs Fix a bug where TLS would become None (#55) 2023-09-27 20:01:15 -07:00
panic_prop.rs Propagate panics in tasks (#78) 2023-11-21 11:39:09 +01:00
spawn_many.rs feat: Add a way to batch spawn tasks 2024-03-30 08:18:14 -07:00