Function

NumCosmoMathfunc_eval_threaded_loop

Declaration [src]

void
ncm_func_eval_threaded_loop (
  NcmFuncEvalLoop lfunc,
  glong i,
  glong f,
  gpointer data
)

Description [src]

Calls ncm_func_eval_threaded_loop_nw() with one worker per pool thread, one per processor for an unlimited pool, and serially for a pool of 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.