parallel_distribute_range


Description:


public void parallel_distribute_range (size_t size, double thread_cost, ParallelDistributeRangeFunc func)

Distributes the processing of a linear data-structure across multiple threads, by calling the given function with different sub-ranges on different threads.

Parameters:

size

the total size of the data

thread_cost

the cost of using each additional thread, relative to the cost of processing a single data element

func

the function to call

user_data

user data to pass to the function


Namespace: Gegl
Package: gegl-0.4



2022 vala-language.org