8.2.18. _gfortran_caf_lock
8.2.18 _gfortran_caf_lock — Unlocking a lock variable
- Description:
-
Release a lock on the given image on a scalar locking variable or for the given array element for an array-valued variable. Unlocking a lock variable which is unlocked or has been locked by a different image is an error.
- Syntax:
-
void _gfortran_caf_unlock (caf_token_t token, size_t index, int image_index, int *stat, char *errmsg, int errmsg_len)
- Arguments:
-
token intent(in) An opaque pointer identifying the coarray. index intent(in) Array index; first array index is 0. For scalars, it is always 0. image_i