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: NcmFuncEvalLoop

Loop function.

i

Type: glong

First index.

f

Type: glong

One past the last index.

data

Type: gpointer

User data.

The argument can be NULL.
The data is owned by the caller of the function.