Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
useless MSG_function_register
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 15 Apr 2016 19:28:11 +0000 (21:28 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 15 Apr 2016 19:28:11 +0000 (21:28 +0200)
examples/msg/process-kill/process-kill.c

index e345301..a716d9e 100644 (file)
@@ -49,8 +49,6 @@ int main(int argc, char *argv[])
 
   MSG_create_environment(argv[1]);   /** - Load the platform description */
   /** - Create and deploy @ref killer process */
-  MSG_function_register("killer", killer);
-  MSG_function_register("victim", victim);
   MSG_process_create("killer", killer, NULL, MSG_host_by_name("Tremblay"));
 
   res = MSG_main();                 /** - Run the simulation */