Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kParallel_Execute | ( | kParallelFx | callback,
|  | kPointer | receiver,
|  | kPointer | content
| ) |  |

Synchronously processes a dataset.

On multicore systems, this method is equivalent to calling kParallel_BeginExecute followed by kParallel_EndExecute. On unicore systems, this method directly invokes the specified callback.

This method is thread-safe.

Parameters

  callback | Data processing callback function.
  receiver | Receiver argument to be provided to callback.
  content | Content to be provided to callback via kParallelArgs.content.

Returns
  Operation status (kOK, or first error returned by a callback).