X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/de0765cca8da736799b534113602a9cb8bc32809..347996b4a10c4e8579080692afa60e0afb88b60a:/src/mc/ModelChecker.hpp diff --git a/src/mc/ModelChecker.hpp b/src/mc/ModelChecker.hpp index eaed239e9f..a90e1b4137 100644 --- a/src/mc/ModelChecker.hpp +++ b/src/mc/ModelChecker.hpp @@ -17,10 +17,10 @@ #include #include -#include "mc_forward.hpp" +#include "src/mc/mc_forward.hpp" #include "src/mc/Process.hpp" #include "src/mc/PageStore.hpp" -#include "mc_protocol.h" +#include "src/mc/mc_protocol.h" namespace simgrid { namespace mc { @@ -62,12 +62,17 @@ public: } void start(); + void init_process(); void shutdown(); void resume(simgrid::mc::Process& process); void loop(); bool handle_events(); void wait_client(simgrid::mc::Process& process); void simcall_handle(simgrid::mc::Process& process, unsigned long pid, int value); + void wait_for_requests() + { + mc_model_checker->wait_client(mc_model_checker->process()); + } private: void setup_ignore(); bool handle_message(char* buffer, ssize_t size);