X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cf9a823f1cfd8b0098a039bff8ff6567e9beac91..f0527e5764cc4d3d4938180a54b7fee812444209:/src/mc/mc_global.c diff --git a/src/mc/mc_global.c b/src/mc/mc_global.c index 3b1367023b..52848e6005 100644 --- a/src/mc/mc_global.c +++ b/src/mc/mc_global.c @@ -99,26 +99,6 @@ static void MC_init_dot_output() } -mc_model_checker_t mc_model_checker = NULL; - -mc_model_checker_t MC_model_checker_new(pid_t pid, int socket) -{ - mc_model_checker_t mc = xbt_new0(s_mc_model_checker_t, 1); - mc->pages = mc_pages_store_new(); - mc->fd_clear_refs = -1; - mc->fd_pagemap = -1; - MC_process_init(&mc->process, pid, socket); - return mc; -} - -void MC_model_checker_delete(mc_model_checker_t mc) -{ - mc_pages_store_delete(mc->pages); - if(mc->record) - xbt_dynar_free(&mc->record); - MC_process_clear(&mc->process); -} - void MC_init() { MC_init_pid(getpid(), -1);