#define mpiEventMaskIS_EQUAL(mask1,mask2) (((mask1)[0] == (mask2)[0]) && ((mask1)[1] == (mask2)[1])))
EventMaskIS_EQUAL tests the equality of two event masks.