Changeset 2517 for XIOS3/trunk/src/manager/pool_ressource.cpp
- Timestamp:
- 06/12/23 11:52:10 (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/manager/pool_ressource.cpp
r2494 r2517 27 27 28 28 notifyType_=NOTIFY_NOTHING; 29 winNotify_->lockWindow(commRank,0) ; 30 winNotify_->updateToWindow(commRank, this, &CPoolRessource::notificationsDumpOut) ; 31 winNotify_->unlockWindow(commRank,0) ; 29 winNotify_->updateToExclusiveWindow(commRank, this, &CPoolRessource::notificationsDumpOut) ; 32 30 MPI_Barrier(poolComm_) ; 33 31 } … … 104 102 void CPoolRessource::sendNotification(int rank) 105 103 { 106 winNotify_->lockWindowExclusive(rank) ; 107 winNotify_->pushToLockedWindow(rank, this, &CPoolRessource::notificationsDumpOut) ; 108 winNotify_->unlockWindow(rank) ; 104 winNotify_->pushToExclusiveWindow(rank, this, &CPoolRessource::notificationsDumpOut) ; 109 105 } 110 106 … … 113 109 int commRank ; 114 110 MPI_Comm_rank(poolComm_, &commRank) ; 115 winNotify_->lockWindowExclusive(commRank) ; 116 winNotify_->popFromLockedWindow(commRank, this, &CPoolRessource::notificationsDumpIn) ; 117 winNotify_->unlockWindow(commRank) ; 111 winNotify_->popFromExclusiveWindow(commRank, this, &CPoolRessource::notificationsDumpIn) ; 118 112 if (notifyType_==NOTIFY_CREATE_SERVICE) createService() ; 119 113 else if (notifyType_==NOTIFY_CREATE_SERVICE_ONTO) createServiceOnto() ;
Note: See TracChangeset
for help on using the changeset viewer.