parallel_distribute_area


Description:


public void parallel_distribute_area (Rectangle area, double thread_cost, SplitStrategy split_strategy, ParallelDistributeAreaFunc func)

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

Parameters:

area

the area to process

thread_cost

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

split_strategy

the strategy to use for dividing the area

func

the function to call

user_data

user data to pass to the function


Namespace: Gegl
Package: gegl-0.4