Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unnecessary spaces and empty lines in tesh files.
[simgrid.git] / examples / msg / mc / centralized_liveness_deadlock.c
index d73624f..b3c9d40 100644 (file)
@@ -96,15 +96,16 @@ int client(int argc, char *argv[])
 int main(int argc, char *argv[])
 {
 
-  xbt_automaton_t a = MC_create_automaton("promela_centralized_liveness");
-  xbt_new_propositional_symbol(a,"cs", &predCS); 
+  MSG_init(&argc, argv);
+
+  MSG_config("model-check/property","promela_centralized_liveness");
+  MC_automaton_new_propositional_symbol("cs", &predCS);
   
-  MSG_global_init(&argc, argv);
   MSG_create_environment("../msg_platform.xml");
   MSG_function_register("coordinator", coordinator);
   MSG_function_register("client", client);
   MSG_launch_application("deploy_centralized_liveness.xml");
-  MSG_main_liveness(a);
+  MSG_main();
 
   return 0;