Changeset 2547 for XIOS3/trunk/src/manager/pool_ressource.hpp
- Timestamp:
- 08/29/23 17:24:04 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/manager/pool_ressource.hpp
r2523 r2547 35 35 void createServiceOnto(const std::string& serviceId, int type, const std::string& OnServiceId) ; 36 36 bool eventLoop(bool serviceOnly=false) ; 37 void threadEventLoop(void) ; 37 38 bool hasService(const std::string serviceId, int partitionId) {return services_.count(make_tuple(serviceId,partitionId))>0 ;} 38 39 CService* getService(const std::string serviceId, int partitionId) { return services_[make_tuple(serviceId,partitionId)]; } … … 50 51 void createService(void) ; 51 52 void createServiceOnto(void) ; 53 void synchronize(void) ; 52 54 53 55 // void createServiceNotify(int rank, const std::string& serviceId, int type, int size, int nbPartitions, bool in) ; … … 58 60 public: 59 61 void createNewServiceOnto(const std::string& serviceId, int type, const string& onServiceId) ; 60 61 private: 62 63 private: 64 bool finished_=false ; 65 public: 66 bool isFinished(void) { return finished_ ;} 67 68 private: 62 69 MPI_Comm poolComm_ ; 63 70 … … 74 81 std::string Id_ ; 75 82 bool finalizeSignal_ ; 76 83 77 84 const double eventLoopLatency_=0; 78 85 double lastEventLoop_=0. ; 79 86 80 87 private: 88 size_t hashId_ ; 81 89 shared_ptr<CEventScheduler> eventScheduler_ ; 82 90 shared_ptr<CEventScheduler> freeRessourceEventScheduler_ ;
Note: See TracChangeset
for help on using the changeset viewer.