## shmem_fence

#### Purpose

Waits for completion of all outstanding remote writes issued by the calling processing element (PE).

#### C syntax

    #include <shmem.h>

    void shmem_quiet(void);

#### Description

This function waits for completion of all outstanding remote writes initiated from the calling PE

Remote writes are issued by calls to shmem_put() and related put routines.

When controls returns from shmem_put(), the data is delivered to the communication circuitry but has not yet arrived to the remote PE. The shmem_quiet function does not return until all the data is delivered to the remote PE's memory.

#### C examples

#### Related information

Subroutines: shmem_put, shmem_fence, shmem_barrier, shmem_wait

OpenSHMEM API Index