XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_comm_determinism, mc,
"Logging specific to MC communication determinism detection");
+XBT_PRIVATE static xbt_fifo_t mc_stack;
+
/********** Global variables **********/
xbt_dynar_t initial_communications_pattern;
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_safety, mc,
"Logging specific to MC safety verification ");
+/** Stack (of `simgrid::mc::State*`) representing the current position of the
+ * the MC in the exploration graph
+ *
+ * It is managed by its head (`xbt_fifo_shift` and `xbt_fifo_unshift`).
+ */
+XBT_PRIVATE static xbt_fifo_t mc_stack;
+
namespace simgrid {
namespace mc {
char mc_replay_mode = false;
mc_stats_t mc_stats = nullptr;
-xbt_fifo_t mc_stack = nullptr;
/* Liveness */
XBT_PRIVATE void MC_replay(xbt_fifo_t stack);
XBT_PRIVATE void MC_show_deadlock(void);
-/** Stack (of `simgrid::mc::State*`) representing the current position of the
- * the MC in the exploration graph
- *
- * It is managed by its head (`xbt_fifo_shift` and `xbt_fifo_unshift`).
- */
-XBT_PRIVATE extern xbt_fifo_t mc_stack;
-
/****************************** Statistics ************************************/
typedef struct mc_stats {