Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove the _sg_mc_liveness flag
authorGabriel Corona <gabriel.corona@loria.fr>
Wed, 30 Mar 2016 12:11:19 +0000 (14:11 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Wed, 30 Mar 2016 12:14:39 +0000 (14:14 +0200)
It was not used anymore.

src/include/mc/mc.h
src/mc/LivenessChecker.cpp
src/mc/mc_config.cpp

index 0a4a33a..8fbad5c 100644 (file)
@@ -44,7 +44,6 @@ extern XBT_PUBLIC(int) _sg_mc_visited;
 extern XBT_PRIVATE char* _sg_mc_dot_output_file;
 extern XBT_PUBLIC(int) _sg_mc_comms_determinism;
 extern XBT_PUBLIC(int) _sg_mc_send_determinism;
-extern XBT_PRIVATE int _sg_mc_liveness;
 extern XBT_PRIVATE int _sg_mc_snapshot_fds;
 extern XBT_PRIVATE int _sg_mc_termination;
 
index 70f7d66..a42f5c4 100644 (file)
@@ -534,7 +534,7 @@ int LivenessChecker::run()
   mc_model_checker->wait_for_requests();
 
   XBT_DEBUG("Starting the liveness algorithm");
-  _sg_mc_liveness = 1;
+
 
   /* Create the initial state */
   simgrid::mc::initial_global_state = std::unique_ptr<s_mc_global_t>(new s_mc_global_t());
index eadc370..09f8ec3 100644 (file)
@@ -61,7 +61,6 @@ int _sg_mc_visited = 0;
 char *_sg_mc_dot_output_file = nullptr;
 int _sg_mc_comms_determinism = 0;
 int _sg_mc_send_determinism = 0;
-int _sg_mc_liveness = 0;
 int _sg_mc_snapshot_fds = 0;
 int _sg_mc_termination = 0;