X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a0c5f40f68a69e5fd2c22643c98aed7570191e21..ae4e4af03720a84f4937d426f1ac8ca4d4fa1291:/examples/msg/mc/bugged1_liveness.c diff --git a/examples/msg/mc/bugged1_liveness.c b/examples/msg/mc/bugged1_liveness.c index f8ac5c91fa..458f5093d2 100644 --- a/examples/msg/mc/bugged1_liveness.c +++ b/examples/msg/mc/bugged1_liveness.c @@ -39,7 +39,6 @@ int coordinator(int argc, char *argv[]) } else { if(strcmp(req, "2") == 0){ XBT_INFO("CS idle. Grant immediatly"); - MC_compare(); answer = MSG_task_create("grant", 0, 1000, NULL); MSG_task_send(answer, req); CS_used = 1; @@ -52,6 +51,7 @@ int coordinator(int argc, char *argv[]) } MSG_task_destroy(task); task = NULL; + kind = NULL; } return 0; @@ -87,6 +87,7 @@ int client(int argc, char *argv[]) MSG_task_destroy(grant); grant = NULL; + kind = NULL; XBT_INFO("%s got the answer. Sleep a bit and release it", argv[1]); @@ -115,7 +116,7 @@ int main(int argc, char *argv[]) MSG_init(&argc, argv); - MSG_config("model-check/property","promela1_bugged1_liveness"); + MSG_config("model-check/property","promela_bugged1_liveness"); MC_automaton_new_propositional_symbol("r", &predR); MC_automaton_new_propositional_symbol("cs", &predCS);