void (*SMPI_switch_data_segment)(simgrid::s4u::ActorPtr) = nullptr;
-int _sg_do_verbose_exit = 1;
+bool _sg_do_verbose_exit = true;
static void inthandler(int)
{
if ( _sg_do_verbose_exit ) {
if (simix_global->process_list.size() <= simix_global->daemons.size()) {
XBT_CRITICAL("Oops! Daemon actors cannot do any blocking activity (communications, synchronization, etc) "
"once the simulation is over. Please fix your on_exit() functions.");
- SIMIX_display_process_status();
- simgrid::s4u::onDeadlock();
- xbt_abort();
-
} else {
XBT_CRITICAL("Oops! Deadlock or code not perfectly clean.");
- SIMIX_display_process_status();
- simgrid::s4u::onDeadlock();
- xbt_abort();
}
+ SIMIX_display_process_status();
+ simgrid::s4u::onDeadlock();
+ xbt_abort();
}
simgrid::s4u::onSimulationEnd();
}