Changeset 2399 for XIOS3/trunk/src/transport/one_sided_context_client.cpp
- Timestamp:
- 09/09/22 17:23:16 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/transport/one_sided_context_client.cpp
r2343 r2399 96 96 } 97 97 itBuffer->second->eventLoop() ; 98 double time=CTimer::getTime() ; 98 99 bool succed = itBuffer->second->writeEvent(timeLine, event) ; 100 if (succed) 101 { 102 time=CTimer::getTime()-time ; 103 if (!CTimer::get("Blocking time").isSuspended()) CTimer::get("Blocking time").minus(time) ; 104 } 105 99 106 if (succed) event.remove() ; 100 107 else event.next() ; 101 if (event.isFirst()) callGlobalEventLoop() ; 102 } 103 108 if (event.isFirst()) 109 { 110 if (CTimer::get("Blocking time").isSuspended()) CTimer::get("Blocking time").resume() ; 111 callGlobalEventLoop() ; 112 } 113 } 114 if (!CTimer::get("Blocking time").isSuspended()) CTimer::get("Blocking time").suspend() ; 115 104 116 if (isAttachedModeEnabled()) // couldBuffer is always true in attached mode 105 117 {
Note: See TracChangeset
for help on using the changeset viewer.