7.2.39 _gfortran_caf_change_team — Team activation function

Synopsis:

void _gfortran_caf_change_team (caf_team_t team, int *stat, char *errmsg, size_t errmsg_len)

Description:

Actives the team given by team, which must be formed but not active yet. This routine starts a new epoch on the coarray memory pool. All coarrays registered from now on, will be freeed once the team is terminated.

Arguments:
teamintent(inout) The opaque pointer to an already formed team
statintent(out) Stores the status STAT= and may be NULL.
errmsgintent(out) When an error occurs, this is set to an error message; may be NULL.
errmsg_lenintent(in) the buffer size of errmsg
Notes:

When an error occurs and stat is non-null, it will be set. Nevertheless will the Fortran program continue with the first statement in the change team block.