#endif
std::vector<xbt::Task<void()>> tasks;
- std::vector<xbt::Task<void()>> tasksTemp;
std::mutex mutex_;
+ static EngineImpl* instance_;
+
+ std::unique_ptr<void, std::function<int(void*)>> platf_handle_; //!< handle for platform library
friend s4u::Engine;
public:
EngineImpl(const EngineImpl&) = delete;
EngineImpl& operator=(const EngineImpl&) = delete;
virtual ~EngineImpl();
+ static void shutdown();
+#endif
+ void load_platform(const std::string& platf);
void load_deployment(const std::string& file) const;
void register_function(const std::string& name, const actor::ActorCodeFactory& code);
void register_default(const actor::ActorCodeFactory& code);