_gfortran_caf_sync_memory
— Wait for completion of segment-memory operationsvoid _gfortran_caf_sync_memory (int *stat, char *errmsg, int errmsg_len)
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.
|
__asm__ __volatile__ ("":::"memory")
to prevent code movements.