Function
Geglparallel_distribute_range
since: 0.4
Declaration [src]
void
gegl_parallel_distribute_range (
gsize size,
gdouble thread_cost,
GeglParallelDistributeRangeFunc func,
gpointer user_data
)
Description [src]
Distributes the processing of a linear data-structure across multiple threads, by calling the given function with different sub-ranges on different threads.
Available since: 0.4
Parameters
size-
Type:
gsizeThe total size of the data.
thread_cost-
Type:
gdoubleThe cost of using each additional thread, relative to the cost of processing a single data element.
func-
Type:
GeglParallelDistributeRangeFuncThe function to call.
user_data-
Type:
gpointerUser data to pass to the function.
The argument can be NULL.The data is owned by the caller of the function.