mpiNotifySourceIndex

Declaration
long mpiNotifySourceIndex(MPINotify notify,
                          void      *source)
Required Header stdmpi.h
Description

NotifySourceIndex returns the position of source on the list.

  notify a handle to the Notify object.
  source a pointer with an arbitrary (but non-NULL) value.
     
Return Values
index of source
in the event source list maintained by a Notify object (notify)
-1
if notify is invalid
if the event source (source) was not found in the event source list
See Also