FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kBlock_AssignGroup ( kBlock  block,
k32u  groupId 
)

Assigns this block to a processing group.

By default, blocks in concurrent pipe environments are independently scheduled for execution. The kBlock_AssignGroup function can be used to create larger processing groups, so that multiple blocks are executed together. This technique can be used to optimize pipe execution by reducing context switching overhead, particulary when dealing with lightweight blocks.

Parameters
blockBlock object.
groupIdProcessing group id (or k32U_NULL for none).
Returns
Operation status.