The MPI-3 Standard states that MPI_Win_lock(...)
with lock type MPI_LOCK_SHARED
must be a blocking (exclusive) lock if and only if the origin and target process are the same. MPI_Win_lock_all
is the locking of all processes in the window with lock type MPI_LOCK_SHARED
.
Does this imply that MPI_Win_lock_all
creates also an exclusive lock from the origin to the origin itself?