Crates.io | thread-tree |
lib.rs | thread-tree |
version | 0.3.3 |
source | src |
created_at | 2020-12-20 17:03:13.469077 |
updated_at | 2021-11-14 20:17:34.84026 |
description | A tree-structured thread pool for splitting jobs hierarchically on worker threads. The tree structure means that there is no contention between workers when delivering jobs. |
homepage | |
repository | https://github.com/bluss/thread-tree |
max_upload_size | |
id | 324942 |
size | 36,200 |
A tree-structured thread pool. See API documentation for more information.
Stack jobs and job execution based on rayon-core by Niko Matsakis and Josh Stone.
Experimental simple thread pool used for spawning stack-bound scoped jobs with no work stealing.
This is good for:
This is not good for:
You need work stealing
When you have jobs of uneven size
Possibly allow reserving a subbranch of the tree.