msg_global->max_channel = 0;
msg_global->PID = 1;
msg_global->sent_msg = 0;
+ msg_global->task_copy_callback = NULL;
/* initialization of the action module */
_MSG_action_init();
return MSG_OK;
}
-MSG_error_t MSG_main_liveness_stateful(xbt_automaton_t a)
-{
- /* Clean IO before the run */
- fflush(stdout);
- fflush(stderr);
-
- if (MC_IS_ENABLED) {
- MC_modelcheck_liveness_stateful(a);
- }
- else {
- SIMIX_run();
- }
- return MSG_OK;
-}
-MSG_error_t MSG_main_liveness_stateless(xbt_automaton_t a, char *prgm)
+MSG_error_t MSG_main_liveness(xbt_automaton_t a, char *prgm)
{
/* Clean IO before the run */
fflush(stdout);
fflush(stderr);
if (MC_IS_ENABLED) {
- MC_modelcheck_liveness_stateless(a, prgm);
+ MC_modelcheck_liveness(a, prgm);
}
else {
SIMIX_run();