Caching tags on communicator IV


Up: Tools for writing libraries Next: Caching tags on communicator V Previous: Caching tags on communicator III


*comm_out = comm_in;
if (*tagvalp < ntags) {
    /* Error, out of tags.  Another solution would be to do 
       an MPI_Comm_dup. */
    return MPI_ERR_INTERN;
    }
*first_tag = *tagvalp - ntags;
*tagvalp   = *first_tag;

return MPI_SUCCESS;
}



Up: Tools for writing libraries Next: Caching tags on communicator V Previous: Caching tags on communicator III