mpiNotifySource

Declaration
void* mpiNotifySource(MPINotify notify,
                      long      index) 
Required Header stdmpi.h
Description

NotifySource returns the element at the position on the list indicated by index.

  notify a handle to the Notify object.
  index a position in the list.
     
Return Values
indexth event source in the event source list maintained by a Notify object (notify)
NULL if notify is invalid
if index is less than 0
if index is greater than or equal to mpiNotifySourceCount(notify)
MPIMessageARG_INVALID if index is a negative number.
MEIListMessageELEMENT_NOT_FOUND if index is greater than or equal to the number of elements in the list.
MPIMessageHANDLE_INVALID if notify is an invalid handle.
See Also