Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kParallel_ExecuteDirect ( kParallelFx  callback,
kPointer  receiver,
kPointer  content 
)

Directly invokes the specified callback without using the thread pool.

This method can be used for testing purposes, to determine non-parallel execution time without having to significantly restructure the caller.

This method is thread-safe.

Parameters
callbackData processing callback function.
receiverReceiver argument to be provided to callback.
contentContent to be provided to callback via kParallelArgs.content.
Returns
Operation status (kOK, or first error returned by a callback).