- /* Note that for i == rank, this is a useful operation - it allows
- the programmer to use direct loads and stores, rather than
- put/get/accumulate, to access the local memory window. */
- for (i=0; i<size; i++) {
- MPI_Win_lock( MPI_LOCK_EXCLUSIVE, i, 0, win );
- MPI_Win_unlock( i, win );
+ /* Note that for i == rank, this is a useful operation - it allows
+ * the programmer to use direct loads and stores, rather than
+ * put/get/accumulate, to access the local memory window. */
+ for (i = 0; i < size; i++) {
+ MPI_Win_lock(MPI_LOCK_EXCLUSIVE, i, 0, win);
+ MPI_Win_unlock(i, win);