X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/35d84011da1f114490d6eb4d77e214edf56c810f..0bb08c80b2bff9de24524dc98f04cd145dfc93c0:/src/mc/ModelChecker.hpp diff --git a/src/mc/ModelChecker.hpp b/src/mc/ModelChecker.hpp index 95543458ec..e7b7e9022c 100644 --- a/src/mc/ModelChecker.hpp +++ b/src/mc/ModelChecker.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. +/* Copyright (c) 2007-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -43,7 +43,6 @@ class ModelChecker { public: std::shared_ptr parent_snapshot_; -public: ModelChecker(ModelChecker const&) = delete; ModelChecker& operator=(ModelChecker const&) = delete; explicit ModelChecker(std::unique_ptr process); @@ -69,12 +68,8 @@ public: void resume(simgrid::mc::RemoteClient& process); void loop(); void handle_events(int fd, short events); - void wait_client(simgrid::mc::RemoteClient& process); + void wait_for_requests(); void handle_simcall(Transition const& transition); - void wait_for_requests() - { - mc_model_checker->wait_client(mc_model_checker->process()); - } void exit(int status); bool checkDeadlock();