X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea5ba71aa6e9e92becf2763c71c92fed3228c794..f18e17b472638518f39ec00fdafbc3355c070c15:/src/mc/ModelChecker.cpp diff --git a/src/mc/ModelChecker.cpp b/src/mc/ModelChecker.cpp index af0c6668cb..f160216422 100644 --- a/src/mc/ModelChecker.cpp +++ b/src/mc/ModelChecker.cpp @@ -22,15 +22,15 @@ #include "simgrid/sg_config.h" #include "src/mc/ModelChecker.hpp" -#include "src/mc/PageStore.hpp" #include "src/mc/ModelChecker.hpp" -#include "src/mc/mc_protocol.h" -#include "src/mc/mc_private.h" -#include "src/mc/mc_ignore.h" +#include "src/mc/PageStore.hpp" +#include "src/mc/Transition.hpp" +#include "src/mc/checker/Checker.hpp" #include "src/mc/mc_exit.h" +#include "src/mc/mc_ignore.h" +#include "src/mc/mc_private.h" #include "src/mc/mc_record.h" -#include "src/mc/Transition.hpp" -#include "src/mc/Checker.hpp" +#include "src/mc/remote/mc_protocol.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_ModelChecker, mc, "ModelChecker"); @@ -161,16 +161,6 @@ void ModelChecker::resume(simgrid::mc::Process& process) process.clear_cache(); } -static -void throw_socket_error(int fd) -{ - int error = 0; - socklen_t errlen = sizeof(error); - if (getsockopt(fd, SOL_SOCKET, SO_ERROR, (void *)&error, &errlen) == -1) - error = errno; - throw simgrid::xbt::errno_error(); -} - static void MC_report_crash(int status) { XBT_INFO("**************************");