Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Action replayer: don't hardcode the usage of raw contextes
authorChristophe Thiéry <christopho128@gmail.com>
Thu, 12 May 2011 11:22:10 +0000 (13:22 +0200)
committerChristophe Thiéry <christopho128@gmail.com>
Thu, 12 May 2011 11:22:10 +0000 (13:22 +0200)
examples/msg/actions/actions.c

index 031eabe..f3b9299 100644 (file)
@@ -12,8 +12,6 @@
 #include "xbt.h"                /* calloc, printf */
 #include "instr/instr_private.h"
 
-void SIMIX_ctx_raw_factory_init(smx_context_factory_t *factory);
-
 XBT_LOG_NEW_DEFAULT_CATEGORY(actions,
                              "Messages specific for this msg example");
 int communicator_size = 0;
@@ -548,8 +546,6 @@ int main(int argc, char *argv[])
 {
   MSG_error_t res = MSG_OK;
 
-  smx_factory_initializer_to_use = SIMIX_ctx_raw_factory_init;
-
   /* Check the given arguments */
   MSG_global_init(&argc, argv);
   if (argc < 3) {