_gfortran_caf_event_wait
— Wait that an event occurredvoid _gfortran_caf_event_wait (caf_token_t token, size_t index,
int until_count, int *stat, char *errmsg, int errmsg_len)
token | intent(in) An opaque pointer identifying the coarray.
|
index | Array index; first array index is 0. For scalars, it is
always 0.
|
until_count | The number of events which have to be available
before the function returns.
|
stat | intent(out) Stores the STAT=; may be NULL
|
errmsg | intent(out) When an error occurs, this will be set to
an error message; may be NULL
|
errmsg_len | the buffer size of errmsg.
|
The statement is an image-control statement but does not imply sync memory.
Still, all preceeding push communications to this image of images having
issued a event_push
have to be completed before this function returns.