MPINotifyMessage
Definition
|
typedef enum {
MPINotifyMessageNOTIFY_INVALID,
MPINotifyMessageWAIT_IN_PROGRESS,
} MPINotifyMessage;
|
Description
MPINotifyMessage is an enumeration of the Notify error messages that can be returned by the MPI library.
MPINotifyMessageNOTIFY_INVALID |
|
The notify object is not valid. This message code is returned by a notify method if the notify object handle is not valid. This problem can be caused by failed mpiNotifyCreate(...). To prevent this problem, check your notify objects after creation by using mpiNotifyValidate(...). |
MPINotifyMessageWAIT_IN_PROGRESS |
|
The notify object is waiting for an event. This message code is returned by mpiNotifyEventWait(...) if the notify object is already waiting for an event in another thread. To prevent this problem, make sure a thread does not share notify objects with other threads. |
Sample Code
|
MPIControl control;
MPINotify notify;
long returnValue;
...
notify =
mpiNotifyCreate(control);
returnValue =
mpiNotifyValidate(notify);
|
See Also
MPINotify | mpiNotifyCreate | mpiNotifyValidate
|