win_lock_all Subroutine

private subroutine win_lock_all(this, assert)

Type Bound

win_t

Arguments

Type IntentOptional Attributes Name
class(win_t), intent(in) :: this
integer, intent(in), optional :: assert

Calls

proc~~win_lock_all~2~~CallsGraph proc~win_lock_all~2 win_t%win_lock_all mpi_win_lock_all mpi_win_lock_all proc~win_lock_all~2->mpi_win_lock_all

Variables

Type Visibility Attributes Name Initial
integer, private :: assert_val
integer, private :: ierr

Source Code

   subroutine win_lock_all(this, assert)
      class(win_t), intent(in) :: this
      integer, intent(in), optional :: assert
      integer :: ierr, assert_val

      if (present(assert)) then
         assert_val = assert
      else
         assert_val = 0_int32
      end if

      call MPI_Win_lock_all(assert_val, this%m_win, ierr)
   end subroutine win_lock_all