Changeset 2130 for XIOS/dev/dev_ym/XIOS_COUPLING/src/manager
- Timestamp:
- 04/20/21 09:49:47 (3 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/src/manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/manager/daemons_manager.hpp
r1764 r2130 1 1 #ifndef __DAEMONS_MANAGER_HPP__ 2 2 #define __DAEMONS_MANAGER_HPP__ 3 #include <cstddef> 3 4 4 5 namespace xios … … 16 17 bool servicesEventLoop(void) ; 17 18 19 void scheduleContext(size_t hashId) { scheduledContext_=hashId ;} //!< for attached mode, give the hand to the associated context server 20 bool isScheduledContext(size_t hashId) { return scheduledContext_==hashId ;} //!< for attached mode, return true if context server is sceduled 21 void unscheduleContext(void) { scheduledContext_=0 ;} //!< for attached mode : unschedule context 22 18 23 private: 19 24 bool isServer_ ; 25 size_t scheduledContext_ = 0 ; //!< Hash id of the next scehduled context for attached mode 20 26 } ; 21 27 } -
XIOS/dev/dev_ym/XIOS_COUPLING/src/manager/server_context.hpp
r1764 r2130 33 33 void freeComm(void) ; 34 34 bool isAttachedMode(void) { return isAttachedMode_ ;} 35 CService* getParentService(void) {return parentService_ ; } 36 35 37 private: 36 38 void createIntercomm(void) ; -
XIOS/dev/dev_ym/XIOS_COUPLING/src/manager/services.hpp
r1764 r2130 37 37 int getType(void) {return type_;} 38 38 int getNbPartitions(void) {return nbPartitions_;} 39 39 40 40 private: 41 41 void sendNotification(int rank) ;
Note: See TracChangeset
for help on using the changeset viewer.