Executing the schedule finds the smallest element of the array for which the corresponding element of the mask array is non-zero. The minimum value, written to *res, is broadcast to all members of the active process group.