.

mpiNotifyEventMaskGet

Declaration

long mpiNotifyEventMaskGet(MPINotify    notify,
                           MPIEventMask *mask) 
  Required Header: stdmpi.h

Description

mpiNotifyEventMaskGet writes an event mask (that specifies the event type(s) for which event notification is accepted by a Notify object (notify)) to the location pointed to by mask.

 
Return Values
MPIMessageOK  

Sample Code

 

/*
  Disables event notification and copies the previously used
  event mask to oldMask.  oldMask may then be used to re-enable
  event notification via another call to mpiNotifyEventMaskSet().
*/
void NotifyDisable(MPINotify notify, MPIEventMask* oldMask)
{
    MPIEventMask newMask;
    long returnValue;

    returnValue = mpiNotifyEventMaskGet(notify, oldMask);
    msgCheck(returnValue);

    mpiEventMaskCLEAR(newMask);

    returnValue = mpiNotifyEventMaskSet(notify, newMask);
    msgCheck(returnValue);
}

See Also

mpiNotifyEventMaskSet

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering