Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Don't leave model-checked processes around
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 26 Feb 2016 10:02:54 +0000 (11:02 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 26 Feb 2016 10:09:25 +0000 (11:09 +0100)
commitd2e206d0539afade3722f7aa9f7a65ad8a714253
tree4c3762781e41fc0e27f546bda837683368a776dd
parent4f9095b90297e111f30558615fde2567f5710e99
[mc] Don't leave model-checked processes around

In some cases, we terminate the model-checker brutally inside of its
event loop instead of letting the event loop and the model checker
terminate cleanly. In this case, the model-checked process could still
be left alive.

Because the model-checker was still around, tesh was still waiting on
the pipe and ended-up timing out.

We now SIGKILL the model-checked process when exiting the
model-checker brutally.
src/mc/ModelChecker.cpp
src/mc/ModelChecker.hpp
src/mc/mc_comm_determinism.cpp