mpiSequenceCommandListSet

Declaration
long mpiSequenceCommandListSet(MPISequence  sequence,
                               long         commandCount,
                               MPICommand   *commandList)
Required Header stdmpi.h
Description

SequenceCommandListSet creates a Sequence (sequence) of commandCount Commands using the Command handles specified by commandList. Any existing command Sequence is completely replaced.

The commandList parameter is the address of an array of commandCount Command handles, or is NULL (if commandCount is equal to zero).

You can also create a command Sequence incrementally (i.e., one command at a time), by using the Append and/or Insert methods. Use the List methods to examine and manipulate a command Sequence, regardless of how it was created.

Return Values
MPIMessageOK if SequenceCommandListGet successfully creates a Sequence of Commands using the Command handles specified by commandList
See Also mpiSequenceCommandListGet