Ignore:
Timestamp:
11/16/21 17:37:42 (3 years ago)
Author:
ymipsl
Message:

One sided protocol improvment.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/manager/server_context.cpp

    r2246 r2258  
    160160  void CServerContext::sendNotification(int rank) 
    161161  { 
    162     winNotify_->lockWindow(rank,0) ; 
    163     winNotify_->pushToWindow(rank, this, &CServerContext::notificationsDumpOut) ; 
    164     winNotify_->unlockWindow(rank,0) ; 
     162    winNotify_->lockWindowExclusive(rank) ; 
     163    winNotify_->pushToLockedWindow(rank, this, &CServerContext::notificationsDumpOut) ; 
     164    winNotify_->unlockWindow(rank) ; 
    165165  } 
    166166 
     
    201201        int commRank ; 
    202202        MPI_Comm_rank(contextComm_, &commRank) ; 
    203         winNotify_->lockWindow(commRank,0) ; 
    204         winNotify_->popFromWindow(commRank, this, &CServerContext::notificationsDumpIn) ; 
    205         winNotify_->unlockWindow(commRank,0) ; 
     203        winNotify_->lockWindowExclusive(commRank) ; 
     204        winNotify_->popFromLockedWindow(commRank, this, &CServerContext::notificationsDumpIn) ; 
     205        winNotify_->unlockWindow(commRank) ; 
    206206       
    207207        if (notifyInType_!= NOTIFY_NOTHING) 
Note: See TracChangeset for help on using the changeset viewer.