mpiEventStatusSet
Declaration
long mpiEventStatusSet(MPIEvent event, MPIEventStatus *status)
Description
mpiEventStatusSet sets (writes) the status of event using data from the structure pointed to by status. Event status includes the event type, type-specific codes and the event source.
|
|||||
|---|---|---|---|---|---|
Sample Code
/* Prototype for logging function */
void logToFile(const char*);
MPIEventStatus eventStatus;
long returnValue;
/* Wait for motion event */
returnValue =
mpiNotifyEventWait(notify,
&eventStatus,
MPIWaitFOREVER);
msgCHECK(returnValue);
/* Log event */
logToFile(mpiEventTypeName(eventStatus->type));
See Also
mpiEventStatusGet | mpiEventStatusInfo | MPIEventType
