MPI_Win_fence

int MPI_Win_fence(int, MPI_Win);
Synchronizes RMA calls on a window.