X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/272ccad1b68b6d9c17069f3c934886925bb15b5d..be647c10d0b1d760b036f1205f314002637d9876:/examples/msg/mc/bugged1_for_liveness.c diff --git a/examples/msg/mc/bugged1_for_liveness.c b/examples/msg/mc/bugged1_for_liveness.c index 0a5983d072..3aa5b55e29 100644 --- a/examples/msg/mc/bugged1_for_liveness.c +++ b/examples/msg/mc/bugged1_for_liveness.c @@ -128,16 +128,17 @@ int client(int argc, char *argv[]) int main(int argc, char *argv[]) { - xbt_automaton_t a = MC_create_automaton("promela1_bugged1_liveness"); - xbt_new_propositional_symbol(a,"r", &predR); - xbt_new_propositional_symbol(a,"cs", &predCS); + MSG_init(&argc, argv); + + MSG_config("model-check/property","promela1_bugged1_liveness"); + MC_automaton_new_propositional_symbol("r", &predR); + 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_bugged1_liveness.xml"); - MSG_main_liveness(a); + MSG_main(); return 0; }