Zen API
|
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.
callback | Data processing callback function. |
receiver | Receiver argument to be provided to callback. |
content | Content to be provided to callback via kParallelArgs.content. |