} 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;
}
MSG_task_destroy(task);
task = NULL;
+ kind = NULL;
}
return 0;
MSG_task_destroy(grant);
grant = NULL;
+ kind = NULL;
XBT_INFO("%s got the answer. Sleep a bit and release it", argv[1]);
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);