Function
Starts a new task Group to utilize parallelism.
Syntax
#include <dx/dx.h>
Error DXCreateTaskGroup()
Functional Details
All tasks subsequently created with DXAddTask until the matching DXExecuteTaskGroup is called will be members of this task Group. Each task added to this group will, when DXExecuteTaskGroup is called, be sorted by its work values and executed in parallel if possible.
If an error occurs before ExecuteTaskGroup is called, AbortTaskGroup should be called to free memory associated with the task group. See 4.2 , "Memory Management".
Return Value
Returns OK or returns ERROR and sets an error code.
See Also
DXAbortTaskGroup, DXAddTask, DXExecuteTaskGroup, DXProcessorId, DXProcessors
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]