Module lattice_qcd_rs::thread
source · Expand description
Tool for easy use of multi threading.
Enums
- Multithreading error.
- Multithreading error with a string panic message.
Functions
- 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 - 1
and insert data atpos
. - run jobs in parallel.
- Run a parallel pool using external crate [
rayon
]. - run jobs in parallel. Similar to
run_pool_parallel
but return a vector. - run jobs in parallel. Similar to
run_pool_parallel_vec
but with initiation. - run jobs in parallel. Similar to
run_pool_parallel
but with initiation.