entangled
entangled is a simple thread pool with minimal dependencies. The main use case is a scoped fork-join, i.e. spawning tasks from a single thread and having that thread await the completion of those tasks. There are also utilities for generating the tasks from a slice of data.
This library makes no attempt to ensure fairness or ordering of spawned tasks.
This is a hard fork of the bevy_tasks crate, to further reduce dependencies and simplify the crate.
Builds on the async-executor crate.
Example
let pool = default ;
let count = new;
let ref_count = & count;
let output = pool.scope;
assert_eq!;
License
Licensed under MIT.