Function
NumCosmoMathfunc_eval_threaded_loop_full
Declaration [src]
void
ncm_func_eval_threaded_loop_full (
NcmFuncEvalLoop lfunc,
glong i,
glong f,
gpointer data
)
Description [src]
Calls lfunc with data on each index of [i, f) as a separate pool task
and returns after all finish. Runs a single serial call if the pool has zero threads.
Parameters
lfunc-
Type:
NcmFuncEvalLoopLoop function.
i-
Type:
glongFirst index.
f-
Type:
glongOne past the last index.
data-
Type:
gpointerUser data.
The argument can be NULL.The data is owned by the caller of the function.