Changeset 2324 for XIOS/dev/dev_ym/XIOS_COUPLING/src/context_client.cpp
- Timestamp:
- 04/15/22 13:05:33 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/context_client.cpp
r2310 r2324 175 175 if (isAttachedModeEnabled()) // couldBuffer is always true in attached mode 176 176 { 177 while (checkBuffers(ranks)) c ontext_->globalEventLoop() ;177 while (checkBuffers(ranks)) callGlobalEventLoop() ; 178 178 179 179 CXios::getDaemonsManager()->scheduleContext(hashId_) ; 180 while (CXios::getDaemonsManager()->isScheduledContext(hashId_)) c ontext_->globalEventLoop() ;180 while (CXios::getDaemonsManager()->isScheduledContext(hashId_)) callGlobalEventLoop() ; 181 181 } 182 182 … … 287 287 checkBuffers(); 288 288 289 c ontext_->globalEventLoop() ;289 callGlobalEventLoop() ; 290 290 } 291 291 … … 301 301 } 302 302 303 void CContextClient::eventLoop(void) 304 { 305 if (!locked_) checkBuffers() ; 306 } 307 308 void CContextClient::callGlobalEventLoop(void) 309 { 310 locked_=true ; 311 context_->globalEventLoop() ; 312 locked_=false ; 313 } 303 314 /*! 304 315 Make a new buffer for a certain connection to server with specific rank
Note: See TracChangeset
for help on using the changeset viewer.