Next: , Previous: _gfortran_caf_sync_all, Up: Function ABI Documentation


8.2.16 _gfortran_caf_sync_images — Barrier for selected images

Description:
Synchronization between the specified images; the program only continues on a given image after this function has been called on all images specified for that image. Note that one image can wait for all other images in the current team (e.g. via sync images(*)) while those only wait for that specific image. Additionally, sync images it ensures that all pending data transfers of previous segment have completed.
Syntax:
void _gfortran_caf_sync_images (int count, int images[], int *stat, char *errmsg, int errmsg_len)
Arguments:

count the number of images which are provided in the next argument. For a zero-sized array, the value is zero. For sync images (*), the value is -1.
images intent(in) an array with the images provided by the user. If count is zero, a NULL pointer is passed.
stat intent(out) Stores the status STAT= and 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.