Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use a more simgrid-y way of telling the compiler that this does never happen.
authorAugustin Degomme <adegomme@users.noreply.github.com>
Mon, 27 Sep 2021 15:10:53 +0000 (17:10 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Mon, 27 Sep 2021 15:10:53 +0000 (17:10 +0200)
src/smpi/internals/smpi_global.cpp

index 65453e4..f310707 100644 (file)
@@ -642,5 +642,5 @@ void smpi_exit(int res){
     smpi_exit_status = res;
   }
   simgrid::s4u::this_actor::exit();
-  while(1);//necessary for the noreturn attribute
+  THROW_IMPOSSIBLE;
 }