[ 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.
i |
the current thread index, in the range [0, |
n |
the number of threads execution is distributed across |
user_data |
user data pointer |