Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modernize simcall process_killall.
[simgrid.git] / src / msg / msg_global.cpp
index 70480e1..cf4cda0 100644 (file)
@@ -3,6 +3,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include "simgrid/s4u/Actor.hpp"
 #include "simgrid/s4u/Engine.hpp"
 #include "simgrid/s4u/Host.hpp"
 
@@ -91,8 +92,7 @@ void MSG_config(const char *key, const char *value){
  */
 int MSG_process_killall()
 {
-  simcall_process_killall();
-
+  simgrid::s4u::Actor::kill_all();
   return 0;
 }