MPI 04.00 Reference>>mpiNotify

mpiNotifyEvent

Declaration

long mpiNotifyEvent(MPINotify       notify,
                    MPIEventStatus  *status)

Required Header: stdmpi.h

Description

mpiNotifyEvent first checks to see if the type field of status matches a bit in the event mask maintained by a Notify object (notify).

IF
the type field of status matches a bit in the event mask,

AND
the event source list maintained by the Notify object (notify) is empty or the source field of status matches a source in the event source list,

THEN
a Notify object (notify) will place the event in a FIFO event queue and signal that an event has been received.

If a thread is waiting for event notification (after having called mpiNotifyEventWait(notify)), the signal will awaken it. Otherwise, the next call to mpiNotifyEventWait(notify) will return immediately with status.

Return Values
MPIMessageOK

See Also

mpiNotifyEventWait