X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a2e006ba859c6110478a89ba0cbd2babc5d15b6a..be647c10d0b1d760b036f1205f314002637d9876:/examples/msg/mc/centralized_liveness.c diff --git a/examples/msg/mc/centralized_liveness.c b/examples/msg/mc/centralized_liveness.c index b031038971..238dd45665 100644 --- a/examples/msg/mc/centralized_liveness.c +++ b/examples/msg/mc/centralized_liveness.c @@ -99,15 +99,16 @@ int client(int argc, char *argv[]) int main(int argc, char *argv[]) { - MC_automaton_load("promela_centralized_liveness"); + MSG_init(&argc, argv); + + MSG_config("model-check/property","promela_centralized_liveness"); MC_automaton_new_propositional_symbol("cs", &predCS); - MSG_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(); + MSG_main(); return 0;