ParallelDistributeFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate void ParallelDistributeFunc (int i, int n)

Specifies the type of function passed to parallel_distribute.

The function should process the i-th part of the data, out of n equal parts. n may be less-than or equal-to the max_n argument passed to parallel_distribute.

Parameters:

i

the current thread index, in the range [0,n)

n

the number of threads execution is distributed across

user_data

user data pointer


Namespace: Gegl
Package: gegl-0.4



2022 vala-language.org