Method

NumCosmoMathMPIJobrun_array_async

Declaration [src]

void
ncm_mpi_job_run_array_async (
  NcmMPIJob* mpi_job,
  GPtrArray* input_array,
  GPtrArray* ret_array
)

Description [src]

Send work to all slaves using an additional thread to control the slaves work. The main execution thread runs jobs in parallel while it waits for the slaves to finish. Both arrays input_array and ret_array must have the same length and should be filled with the appropriated pointers.

Parameters

input_array

Type: An array of GObject*

An array of input pointers.

The data is owned by the caller of the method.
ret_array

Type: An array of GObject*

An array of (allocated) return pointers.

The data is owned by the caller of the method.