The MPI-3 standard states that MPI_Win_lock(...) with a lock type of MPI_LOCK_SHARED should be a blocking (exclusive) lock if and only if the source and target processes match. MPI_Win_lock_all is a lock of all processes in a window with the lock type MPI_LOCK_SHARED .
Does this mean that MPI_Win_lock_all also creates an exclusive lock from the origin to the very beginning?
c locking mpi
kowwwa
source share