Changeset 2027 for XIOS/dev/dev_trunk_graph/src/context_server.cpp
- Timestamp:
- 02/01/21 12:42:26 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_graph/src/context_server.cpp
r2019 r2027 52 52 CXios::getContextsManager()->getContextInfo(context->getId(), contextInfo, intraComm) ; 53 53 54 if (contextInfo.serviceType != CServicesManager::CLIENT) // we must have an event scheduler => to be retrieve from the associated services55 {54 //if (contextInfo.serviceType != CServicesManager::CLIENT) // we must have an event scheduler => to be retrieve from the associated services 55 //{ 56 56 if (!isAttachedModeEnabled()) eventScheduler_=CXios::getPoolRessource()->getService(contextInfo.serviceId,contextInfo.partitionId)->getEventScheduler() ; 57 }57 //} 58 58 59 59 … … 323 323 else if (!eventScheduler_ || eventScheduler_->queryEvent(currentTimeLine,hashId) ) 324 324 { 325 MPI_Barrier(intraComm) ; 325 326 // When using attached mode, synchronise the processes to avoid that differents event be scheduled by differents processes 326 327 // The best way to properly solve this problem will be to use the event scheduler also in attached mode … … 332 333 isProcessingEvent_=true ; 333 334 CTimer::get("Process events").resume(); 335 info(100)<<"Received Event "<<currentTimeLine<<" of class "<<event->classId<<" of type "<<event->type<<endl ; 334 336 dispatchEvent(*event); 335 337 CTimer::get("Process events").suspend();
Note: See TracChangeset
for help on using the changeset viewer.