X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2c69087d11c54eee924f6870373883d6aa9ff228..638d55dcb8d944f7c74127725f1acb7b8e1449de:/src/simix/libsmx.c diff --git a/src/simix/libsmx.c b/src/simix/libsmx.c index b4bc98561d..9a182a1525 100644 --- a/src/simix/libsmx.c +++ b/src/simix/libsmx.c @@ -10,10 +10,12 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +#include "mc/mc_replay.h" #include "smx_private.h" -#include "mc/mc_interface.h" +#include "mc/mc_forward.h" #include "xbt/ex.h" #include /* isfinite() */ +#include "mc/mc.h" XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix); @@ -737,7 +739,7 @@ void simcall_process_set_kill_time(smx_process_t process, double kill_time) if (simix_global->kill_process_function) { XBT_DEBUG("Set kill time %f for process %s(%s)",kill_time, process->name, sg_host_name(process->smx_host)); - SIMIX_timer_set(kill_time, simix_global->kill_process_function, process); + process->kill_timer = SIMIX_timer_set(kill_time, simix_global->kill_process_function, process); } } } @@ -1048,7 +1050,6 @@ void simcall_comm_wait(smx_synchro_t comm, double timeout) simcall_BODY_comm_wait(comm, timeout); } -#ifdef HAVE_TRACING /** * \brief Set the category of an synchro. * @@ -1063,7 +1064,6 @@ void simcall_set_category(smx_synchro_t synchro, const char *category) } simcall_BODY_set_category(synchro, category); } -#endif /** * \ingroup simix_comm_management