Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Really kill the process.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 22 Sep 2017 13:02:28 +0000 (15:02 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 22 Sep 2017 13:02:52 +0000 (15:02 +0200)
Some mc/umpire tests are deadlocking since commit 7b7b18bf7.

src/mc/ModelChecker.cpp

index a82fa8f..8de1553 100644 (file)
@@ -147,7 +147,7 @@ void ModelChecker::shutdown()
   simgrid::mc::RemoteClient* process = &this->process();
   if (process->running()) {
     XBT_DEBUG("Killing process");
   simgrid::mc::RemoteClient* process = &this->process();
   if (process->running()) {
     XBT_DEBUG("Killing process");
-    kill(process->pid(), SIGTERM);
+    kill(process->pid(), SIGKILL);
     process->terminate();
   }
 }
     process->terminate();
   }
 }