_gfortran_caf_change_team (The GNU Fortran Compiler)

#### 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:

  team | intent(inout) The opaque pointer to an already formed team
  stat | intent(out) Stores the status STAT= and may be NULL.
  errmsg | intent(out) When an error occurs, this is set to an error message; may be NULL.
  errmsg_len | intent(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.