Expand description
Tool for easy use of multi threading.
Enums§
- Thread
AnyError - Multithreading error.
- Thread
Error - Multithreading error with a string panic message.
Functions§
- insert_
in_ vec - Try setting the value inside the vec at position
pos. If the position is not the array, build the array with default value up topos - 1and insert data atpos. - run_
pool_ parallel - run jobs in parallel.
- run_
pool_ parallel_ rayon - Run a parallel pool using external crate
rayon. - run_
pool_ parallel_ vec - run jobs in parallel. Similar to
run_pool_parallelbut return a vector. - run_
pool_ parallel_ vec_ with_ initializations_ mutable - run jobs in parallel. Similar to
run_pool_parallel_vecbut with initiation. - run_
pool_ parallel_ with_ initializations_ mutable - run jobs in parallel. Similar to
run_pool_parallelbut with initiation.