Changeset 1764 for XIOS/dev/dev_ym/XIOS_SERVICES/src/node/context.hpp
- Timestamp:
- 11/05/19 16:02:34 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_SERVICES/src/node/context.hpp
r1761 r1764 53 53 EVENT_ID_POST_PROCESS, EVENT_ID_SEND_REGISTRY, 54 54 EVENT_ID_POST_PROCESS_GLOBAL_ATTRIBUTES, 55 EVENT_ID_PROCESS_GRID_ENABLED_FIELDS 55 EVENT_ID_PROCESS_GRID_ENABLED_FIELDS, 56 EVENT_ID_CONTEXT_FINALIZE_CLIENT, 56 57 }; 57 58 … … 106 107 bool checkBuffersAndListen(bool enableEventsProcessing=true); 107 108 bool eventLoop(bool enableEventsProcessing=true); 109 void globalEventLoop(void); 108 110 109 111 // Finalize a context 110 112 void finalize(void); 113 111 114 void finalize_old(void); 112 115 bool isFinalized(void); … … 170 173 //!< after be gathered to the root process of the context, merged registry is sent to the root process of the servers 171 174 void sendRegistry(void) ; 175 void sendFinalizeClient(CContextClient* contextClient, const string& contextClientId); 176 172 177 173 178 const StdString& getIdServer(); … … 191 196 static void recvRegistry(CEventServer& event) ; 192 197 void recvRegistry(CBufferIn& buffer) ; //!< registry is received by the servers 193 198 static void recvFinalizeClient(CEventServer& event) ; 199 void recvFinalizeClient(CBufferIn& buffer); 200 194 201 void freeComms(void); //!< Free internally allcoated communicators 195 202 void releaseClientBuffers(void); //! Deallocate buffers allocated by clientContexts … … 281 288 bool allProcessed; 282 289 bool finalized; 283 int countChildC tx_; //!< Counter of child contexts (for now it is the number of secondary server pools)290 int countChildContextFinalized_; //!< Counter of child contexts (for now it is the number of secondary server pools) 284 291 StdString idServer_; 285 292 CGarbageCollector garbageCollector;
Note: See TracChangeset
for help on using the changeset viewer.