Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
if deadlock, close trace file so it may help to find the problem
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Mon, 11 Apr 2011 08:23:39 +0000 (10:23 +0200)
committerLucas Schnorr <Lucas.Schnorr@imag.fr>
Mon, 11 Apr 2011 08:23:39 +0000 (10:23 +0200)
src/simix/smx_global.c

index b888675..024009f 100644 (file)
@@ -240,6 +240,10 @@ void SIMIX_run(void)
 
   if (xbt_swag_size(simix_global->process_list) != 0) {
 
+#ifdef HAVE_TRACING
+    TRACE_end();
+#endif
+
     XBT_WARN("Oops ! Deadlock or code not perfectly clean.");
     SIMIX_display_process_status();
     xbt_abort();